Daniel Liston wrote: > > John W. Krahn wrote: > > > Or you could pare that down a bit. :-) > > > > #!/usr/bin/perl > > > > #syntax: unfold.pl filename > newfilename > > > > @ARGV or die "usage: $0 filename\n"; > > > > $/ = ''; print for grep [ chomp, s/\n\s+/ /g, s/\z/\n\n/ ], <>; > > I like that line. I will have to experiment with it.
Anything that John writes after a ':-)' should be taken with a (large) pinch of salt. :-) /R -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]