diff options
author | Case Duckworth | 2022-07-26 23:10:44 -0500 |
---|---|---|
committer | Case Duckworth | 2022-07-26 23:11:46 -0500 |
commit | b4d834728e89beb57377fd810abf9ee8a3365d42 (patch) | |
tree | a24914900e3f039e9e1922dd89cf5b35a46877ec /README.md | |
download | shin-b4d834728e89beb57377fd810abf9ee8a3365d42.tar.gz shin-b4d834728e89beb57377fd810abf9ee8a3365d42.zip |
Initial commit
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..4b68c96 --- /dev/null +++ b/README.md | |||
@@ -0,0 +1,36 @@ | |||
1 | # shin | ||
2 | ## include shell files | ||
3 | |||
4 | built to scratch a personal itch. SHIN is an awk(1) script that plops include | ||
5 | files in to .shin files. here's the usage text: | ||
6 | |||
7 | ``` | ||
8 | SHIN: include shell files in other shell files | ||
9 | USAGE: shin FILE... | ||
10 | |||
11 | FILEs named FILE.shin will be built to FILE.sh in the same directory. | ||
12 | to include files in shin files, use the following comment syntax: | ||
13 | |||
14 | #< INCLUDE | ||
15 | |||
16 | shin will add INCLUDE below that comment, as well as a comment | ||
17 | denoting the end of INCLUDE. | ||
18 | ``` | ||
19 | |||
20 | it's really that simple. and stupid. | ||
21 | |||
22 | ## configuration | ||
23 | |||
24 | SHIN will look for include files in the current directory, unless you set the | ||
25 | SHINPATH environment variable. $SHINPATH is a colon-separated list of | ||
26 | directories like $PATH or $MANPATH. | ||
27 | |||
28 | ## extras | ||
29 | |||
30 | `shin.awk` is the plain awk script. because awk is dumb about handling | ||
31 | arguments, `shin` is a shell script that will do `shin.awk`'s work unless you | ||
32 | pass `shin -h`, in which case it will print a helpful message. | ||
33 | |||
34 | ## license | ||
35 | |||
36 | SHIN is licensed under the FAIR license. see COPYING for details. | ||