diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-07-06 11:57:56 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-07-06 11:57:56 -0700 |
| commit | c174ca57709c8253e8728b27d3693f1e2e493585 (patch) | |
| tree | 7dbf6d14abfc340d0c1afdea98b176c3a0134cf0 /scripts/bbkeys | |
| parent | 9073236736f59291da586a9af64970a647e574ce (diff) | |
Fixed sed compatibility issue
Diffstat (limited to 'scripts/bbkeys')
| -rwxr-xr-x | scripts/bbkeys | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bbkeys b/scripts/bbkeys index 6c79e2c..3577175 100755 --- a/scripts/bbkeys +++ b/scripts/bbkeys @@ -7,7 +7,7 @@ # The format is: ## <key>(,<key>)*:[ ]+<description>(\n script)+ # # May God have mercy on my soul for creating this abomination: -sed '1,'$LINENO'd; /^$/d; s/^## \(.*\): \(.*\)/\x00bind:\1:# \2/; $a\\x00' "$0" | bbcmd; exit +sed '1,'$LINENO'd; /^$/d; s/^## \(.*\): \(.*\)/'"$(printf '\003')"':\1:# \2/' "$0" | tr '\003' '\000' | bbcmd; exit ## Section: BB Commands ## ?,F1: Show Help menu |
