Man is your friend

»

Jim Harkins needs this output: » »Online documentation » Unix rule #1 - RTFM » Scooby doobie doo » Man is your friend »

I posted a little script that worked, but I like this version better:

#!/usr/local/perl while (<>) if (/
(.*)section(.*)/) &printit(); next; sub printit (tabs =1) =  s/sub//͡g; (data =2) =  s/
#/#/; print "tabsdata";

... I'm SURE this can be done in one line, but not by me, not this week...

– Gary Benson -_-_-_-_-_-_-_-_-_-inc@sisu.fluke.com_-_-_-_-_-_-_-_-_-_-_-_-_-_-

Whoso would be man, must be a nonconformist. -Ralph Emerson