termux-elf-cleaner: Move to standalone repo
[termux-packages] / packages / fish / share-functions-__fish_print_help.fish.patch
1 --- ./share/functions/__fish_print_help.fish 2017-02-03 07:16:58.000000000 +0530
2 +++ ../__fish_print_help.fish 2017-02-12 11:36:23.477232262 +0530
3 @@ -41,7 +41,7 @@
4 end
5 set -lx GROFF_TMAC_PATH $__fish_datadir/groff
6 if test -e "$__fish_datadir/man/man1/$item.1"
7 - set help (nroff -c -man -mfish -t $rLL "$__fish_datadir/man/man1/$item.1" ^/dev/null)
8 + set help (mandoc "$__fish_datadir/man/man1/$item.1" ^/dev/null))
9 else if test -e "$__fish_datadir/man/man1/$item.1.gz"
10 set help (gunzip -c "$__fish_datadir/man/man1/$item.1.gz" ^/dev/null | nroff -c -man -mfish -t $rLL ^/dev/null)
11 end
12 @@ -99,6 +99,6 @@
13 # skip it
14 end
15 end
16 - end | ul # post-process with `ul`, to interpret the old-style grotty escapes
17 + end # post-process with `ul`, to interpret the old-style grotty escapes
18 echo # print a trailing blank line
19 end