Chad Perrin wrote:
> This is kind of a frivolous question, but . . . is there some way to
> golf this?
> 
> while (<>) {
>     s/\n/ /;
>     print;
> }

perl -012l040pe1 yourfile


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to