58646dc50555afbd720cefe9388ecb7d699838d1
[termux-packages] / packages / fish / share-functions-__fish_print_help.fish.patch
1 diff -u -r ../fish-2.4b1/share/functions/__fish_print_help.fish ./share/functions/__fish_print_help.fish
2 --- ../fish-2.4b1/share/functions/__fish_print_help.fish 2016-10-18 10:17:06.000000000 -0400
3 +++ ./share/functions/__fish_print_help.fish 2016-10-19 17:37:08.948931562 -0400
4 @@ -40,7 +40,7 @@
5 set rLL -rLL=$cols[1]n
6 end
7 if test -e "$__fish_datadir/man/man1/$item.1"
8 - set help (nroff -man -c -t $rLL "$__fish_datadir/man/man1/$item.1" ^/dev/null)
9 + set help (mandoc "$__fish_datadir/man/man1/$item.1" ^/dev/null)
10 else if test -e "$__fish_datadir/man/man1/$item.1.gz"
11 set help (gunzip -c "$__fish_datadir/man/man1/$item.1.gz" ^/dev/null | nroff -man -c -t $rLL ^/dev/null)
12 end
13 @@ -98,6 +98,6 @@
14 # skip it
15 end
16 end
17 - end | ul # post-process with `ul`, to interpret the old-style grotty escapes
18 + end # post-process with `ul`, to interpret the old-style grotty escapes
19 echo # print a trailing blank line
20 end