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>
This commit is contained in:

committed by
Junio C Hamano

parent
54e85e7af1
commit
b3b753b104
@ -10,7 +10,7 @@ command_list () {
|
||||
}
|
||||
|
||||
get_categories () {
|
||||
tr ' ' '\n'|
|
||||
tr ' ' '\012'|
|
||||
grep -v '^$' |
|
||||
sort |
|
||||
uniq
|
||||
|
Reference in New Issue
Block a user