> On 1/20/2010 8:28 PM, Perl Noob wrote:
>> You can tell from my initial request that I have some knowledge. An
>> expert? No. But not an novice either. I had no real knowledge of
>> the
>> <> until it was introduced to me on this list. I did find out what
>>>>>> "PN" == Perl Noob writes:
>
> >> On Jan 19, 12:01 pm, dery...@gmail.com (C.DeRykus) wrote:
> >>> On Jan 18, 9:09 pm, perln...@tragic.pointyhats.com (Perl Noob)
> >>> wrote:
> >>> > ...
> >>
> On Jan 19, 12:01 pm, dery...@gmail.com (C.DeRykus) wrote:
>> On Jan 18, 9:09 pm, perln...@tragic.pointyhats.com (Perl Noob)
>> wrote:
>> > ...
>>
>> perl -ne '$_ .= <>;s/\n//;print' infile > outfile
>>
>
> Even easier: pe
> On 1/19/2010 12:09 AM, Perl Noob wrote:
>> I have a data file with thousands of records. The problem is that
>> the
>> records in the data file span two lines for each record. I want to
>> write a perl script that makes each record a single line.
> On Tue, Jan 19, 2010 at 08:12:25AM -0500, Perl Noob wrote:
>> > å¨ 2010-01-19äºç 00:09 -0500ï¼Perl Noobåéï¼
>> >> I have a data file with thousands of records. The problem is
>> that
>> >> the
>> >> records in the data file span
> å¨ 2010-01-19äºç 00:09 -0500ï¼Perl Noobåéï¼
>> I have a data file with thousands of records. The problem is that
>> the
>> records in the data file span two lines for each record. I want to
>> write a perl script that makes each record a single line. The file
>> looks like this:
>>
>
I have a data file with thousands of records. The problem is that the
records in the data file span two lines for each record. I want to
write a perl script that makes each record a single line. The file
looks like this:
RECORD1FIELD1 RECORD1FIELD2 RECORD1FIELD3 RECORD1FIELD3
RE