Simple Note System v2.0a2

Changes:
Split script into several different files for easier editting
Added build.sh to compile Simple Note System from tree
Changed config file to config folder; $HOME/.sns now contains configuration and notes

Testing:
Script runs and produces help screen; no further testing done.
This commit is contained in:
Jon-William Lewis
2015-03-18 12:52:00 -05:00
parent 1864543bf5
commit 45717e33b5
13 changed files with 538 additions and 175 deletions

34
build.sh Normal file
View File

@@ -0,0 +1,34 @@
S=sns.sh
PROD_STR="Simple Note System"
VER_STR=v2.0a2
cat > $S << EOF
#!/bin/bash
#==========================================================
# Simple Note System, v2.0a1
# Copyright 2014, Xenese Labs/Sicron-Perion XNF
#==========================================================
PROD_STR=$PROD_STR
VER_STR=$VER_STR
EOF
cat functions/wconf.sns.sh >> $S
cat functions/help.sns.sh >> $S
cat ./init/stage1.sns.sh >> $S
cat ./init/stage2.sns.sh >> $S
cat ./init/stage3.sns.sh >> $S
cat ./functions/create.sns.sh >> $S
cat ./functions/delete.sns.sh >> $S
cat ./functions/edit.sns.sh >> $S
cat ./functions/print.sns.sh >> $S
cat ./functions/list.sns.sh >> $S
exit