diff options
author | Kyohei Kadota <lufia@lufia.org> | 2020-09-10 04:17:41 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-09-10 07:31:31 +0200 |
commit | b3b753b1043d847c1a4cf114781f1b0e3c6084e7 (patch) | |
tree | 10e478ea6bebd6aeeaf81716b4f8b975294d6e7c /generate-cmdlist.sh | |
parent | Fourteenth batch (diff) | |
download | git-b3b753b1043d847c1a4cf114781f1b0e3c6084e7.tar.xz git-b3b753b1043d847c1a4cf114781f1b0e3c6084e7.zip |
Fit to Plan 9's ANSI/POSIX compatibility layer
tr(1) of ANSI/POSIX environment, aka APE, don't support \n literal.
It's handles only octal(\ooo) or hexadecimal(\xhhhh) numbers.
And its sed(1)'s label is limited to maximum seven characters.
Therefore I replaced some labels to drop a character.
* close -> cl
* continue -> cont (cnt is used for count)
* line -> ln
* hered -> hdoc
* shell -> sh
* string -> str
Signed-off-by: Kyohei Kadota <lufia@lufia.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'generate-cmdlist.sh')
-rwxr-xr-x | generate-cmdlist.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generate-cmdlist.sh b/generate-cmdlist.sh index 45fecf8bdf..9dbbb08e70 100755 --- a/generate-cmdlist.sh +++ b/generate-cmdlist.sh @@ -10,7 +10,7 @@ command_list () { } get_categories () { - tr ' ' '\n'| + tr ' ' '\012'| grep -v '^$' | sort | uniq |