about summary refs log tree commit diff stats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md36
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
4built to scratch a personal itch. SHIN is an awk(1) script that plops include
5files in to .shin files. here's the usage text:
6
7```
8SHIN: include shell files in other shell files
9USAGE: shin FILE...
10
11FILEs named FILE.shin will be built to FILE.sh in the same directory.
12to include files in shin files, use the following comment syntax:
13
14#< INCLUDE
15
16shin will add INCLUDE below that comment, as well as a comment
17denoting the end of INCLUDE.
18```
19
20it's really that simple. and stupid.
21
22## configuration
23
24SHIN will look for include files in the current directory, unless you set the
25SHINPATH environment variable. $SHINPATH is a colon-separated list of
26directories like $PATH or $MANPATH.
27
28## extras
29
30`shin.awk` is the plain awk script. because awk is dumb about handling
31arguments, `shin` is a shell script that will do `shin.awk`'s work unless you
32pass `shin -h`, in which case it will print a helpful message.
33
34## license
35
36SHIN is licensed under the FAIR license. see COPYING for details.