diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-10-03 13:24:52 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-10-03 13:24:52 -0700 |
| commit | e364995dcd2ce727d9af8eb826ae8681ec7d5b7e (patch) | |
| tree | 7183929e4e040de3b648f9bdcc50c555f0e0d620 | |
| parent | 3de5a5108f7784b5a8190d7a98417c3a54b6db41 (diff) | |
Appending '\0' to commandfile so subsequent writes don't get screwed up.
| -rwxr-xr-x | bbstartup.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bbstartup.sh b/bbstartup.sh index f8ca71b..059bc09 100755 --- a/bbstartup.sh +++ b/bbstartup.sh @@ -29,3 +29,4 @@ elif [ -e "$sysconfdir/xdg/bb/bindings.bb" ]; then elif [ -e bindings.bb ]; then cat bindings.bb fi | sed -e '/^#/d' -e "s/^[^ ]/$(printf '\034')+bind:\\0/" | tr '\034' '\0' >> "$BBCMD" +printf '\0' >> "$BBCMD" |
