mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-11-23 13:19:48 +00:00
SCCS-file: workman.sh
SCCS-SID: 1.5
This commit is contained in:
committed by
Paul Eggert
parent
b91421fd8d
commit
358047d36e
37
workman.sh
37
workman.sh
@ -3,22 +3,23 @@
|
||||
# %W%
|
||||
|
||||
echo ".hy 0
|
||||
.pl 99i
|
||||
.na" |
|
||||
nroff -man - ${1+"$@"} |
|
||||
perl -ne '
|
||||
chomp;
|
||||
s/.\010//g;
|
||||
s/[ ]*$//;
|
||||
if (/^$/) {
|
||||
$sawblank = 1;
|
||||
next;
|
||||
} else {
|
||||
if ($sawblank && $didprint) {
|
||||
print "\n";
|
||||
$sawblank = 0;
|
||||
}
|
||||
print "$_\n";
|
||||
$didprint = 1;
|
||||
.na
|
||||
.de }H
|
||||
..
|
||||
.de }F
|
||||
.." | nroff -man - ${1+"$@"} | perl -ne '
|
||||
chomp;
|
||||
s/.\010//g;
|
||||
s/\s*$//;
|
||||
if (/^$/) {
|
||||
$sawblank = 1;
|
||||
next;
|
||||
} else {
|
||||
if ($sawblank && $didprint) {
|
||||
print "\n";
|
||||
$sawblank = 0;
|
||||
}
|
||||
'
|
||||
print "$_\n";
|
||||
$didprint = 1;
|
||||
}
|
||||
'
|
||||
|
||||
Reference in New Issue
Block a user