S=sns.sh PROD_STR="Simple Note System" VER_STR=v2.0a3 cat > $S << EOF #!/bin/bash #========================================================== # $PROD_STR, $VER_STR # Copyright 2014, Xenese Labs/Sicron-Perion XNF #========================================================== PROD_STR="$PROD_STR" VER_STR="$VER_STR" EOF echo "# Section: Functions" >> $S cat ./functions/init_default_config.sns.sh >> $S cat ./functions/w_conf.sns.sh >> $S cat ./functions/pause.sns.sh >> $S cat ./functions/help.sns.sh >> $S cat ./functions/p_header.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 echo "# End Section: Functions" >> $S cat ./init/stage1.sns.sh >> $S cat ./init/stage2.sns.sh >> $S cat ./init/stage3.sns.sh >> $S exit