Re^2: perl
by
Random_Walk
on
Sep 03, 2004 at 07:49 UTC
(
replies
)
http://www.perlmonks.org?node_id=388219
in reply to
Re: perl
in thread
perl
A slightly shorter version
perl -pe '$c++ unless /\S/}{$_=$c'
Cheers,
Random.
In Section
Seekers of Perl Wisdom