fix formatting of \ continued shell examples in man pages
doc/git-annex-filter-branch.mdwn and one other file have these, and no other files have \ at the end of line, so this should be safe
This commit is contained in:
parent
6a4dfb172d
commit
ff118cdfe8
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ while (<>) {
|
||||||
s/^Warning:.*mdwn2man.*//g;
|
s/^Warning:.*mdwn2man.*//g;
|
||||||
s/^$/.PP\n/;
|
s/^$/.PP\n/;
|
||||||
s/^\*\s+(.*)/.IP "$1"/;
|
s/^\*\s+(.*)/.IP "$1"/;
|
||||||
|
s/\\$/\\\\/;
|
||||||
next if $_ eq ".PP\n" && $skippara;
|
next if $_ eq ".PP\n" && $skippara;
|
||||||
if (/^.IP /) {
|
if (/^.IP /) {
|
||||||
$inlist=1;
|
$inlist=1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue