> On Jan 19, 12:01 pm, [email protected] (C.DeRykus) wrote:
>> On Jan 18, 9:09 pm, [email protected] (Perl Noob)
>> wrote:
>> > ...
>>
>>  perl -ne '$_ .= <>;s/\n//;print' infile > outfile
>>
>
> Even easier:  perl -pe '$_ .= <>; s/\n//' infile > outfile
>
> --
> Charles DeRykus


MAGIC!!!  That is EXACTLY what I needed.  The <> was the miracle I was
looking for.

Thank you very much.


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to