about summary refs log tree commit diff stats
path: root/README.md
diff options
context:
space:
mode:
authorCase Duckworth2022-07-26 23:10:44 -0500
committerCase Duckworth2022-07-26 23:11:46 -0500
commitb4d834728e89beb57377fd810abf9ee8a3365d42 (patch)
treea24914900e3f039e9e1922dd89cf5b35a46877ec /README.md
downloadshin-b4d834728e89beb57377fd810abf9ee8a3365d42.tar.gz
shin-b4d834728e89beb57377fd810abf9ee8a3365d42.zip
Initial commit
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.