aboutsummaryrefslogtreecommitdiff
path: root/helpers/bbcmd
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2020-02-24 03:39:44 -0800
committerBruce Hill <bruce@bruce-hill.com>2020-02-24 03:39:44 -0800
commit88fd9c416be0f5fe1e5fd48ba7c27d4d1e25261c (patch)
treecfe311fb81c1d12e46b08de175a6296f0aed7a0d /helpers/bbcmd
parent304cbddf730b86dec2b3d7c414fd0b9a38c69d76 (diff)
Moved bbstartup into a script, renamed helper/ -> scripts/, and added
bbshutdown script. Also tweaked some of the precedence.
Diffstat (limited to 'helpers/bbcmd')
-rwxr-xr-xhelpers/bbcmd11
1 files changed, 0 insertions, 11 deletions
diff --git a/helpers/bbcmd b/helpers/bbcmd
deleted file mode 100755
index fdc4e78..0000000
--- a/helpers/bbcmd
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-if [ $# -eq 0 ]; then cat >> $BBCMD; exit; fi
-for arg; do
- shift
- if expr "$arg" : '^[^:]*:$' >/dev/null; then
- if [ $# -gt 0 ]; then printf "$arg%s\\0" "$@" >> $BBCMD
- else sed "s/\([^\\x00]\+\)/$arg\1/g" >> $BBCMD; fi
- exit
- fi
- printf "%s\\0" "$arg" >> $BBCMD
-done