in reply to
Re: perl
in thread
perl
A slightly shorter version
perl -pe '$c++ unless /\S/}{$_=$c'
Cheers,
Random.
Comment on
Re^2: perl
Download
Code
In Section
Seekers of Perl Wisdom