
We still need to process the resulting .man.in files to add back the conditionals but this should be easier to debug as the changes are visible in the .in file. Some minor postprocessing is still used to make the manuals HP-UX friendly and to change "0 seconds" -> unlimited after substitution.
6 lines
92 B
Sed
Executable File
6 lines
92 B
Sed
Executable File
# Replace "0 minutes" with "unlimited"
|
|
/^\.Li 0$/ {
|
|
N
|
|
s/^\.Li 0\nminutes\.$/unlimited./
|
|
}
|