[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] For you PERL Gurus



How would I make a perl script that would go through and replace line
feeds with spaces unless the next line is blank?  chomping everything
didn't work and I can't seem to come up with a s/ / / syntax that will get
it right.  I've trid a few things and failed rather spectacularly.  I am
using Mandrake and it comes with PERL 5.005 if that matters
TIA, 
Ryan

----------------------------------------------------------------
Ryan Bridges <ryan at linuxgeneralstore.com>
B.Gates : quality software :: R.McDonald : gourmet cuisine
----------------------------------------------------------------