home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Big Green CD 8
/
BGCD_8_Dev.iso
/
NEXTSTEP
/
UNIX
/
Educational
/
R-0.49-MI
/
R-0.49-I
/
mansrc
/
help
/
help.pretty.perl
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1996-11-24
|
196 b
|
11 lines
#!/usr/bin/perl -w
#
## Replace multiple empty lines by single empty lines
## -- but still leave ONE EMPTY !!
$/="\n\n"; # input record separator
Para:
while (<>) {
print $_ unless /^\n\n$/
}