Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
A slightly shorter version
perl -pe '$c++ unless /\S/}{$_=$c'
Cheers,
Random. In reply to Re^2: perl
by Random_Walk
|
|