,
Derek B. Smith
OhioHealth IT
UNIX / TSM / EDM Teams
614-566-4145
Jeff 'japhy' Pinyan <[EMAIL PROTECTED]>
06/16/2004 12:58 PM
Please respond to japhy
To: [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject: Re: printing first 40 lines in
On Jun 16, [EMAIL PROTECTED] said:
>I have a file that looks like this:
>
>e4343
>d3434
>34344
>43434
>de434
>
>and I am printing the first 40 lines using
>
>$foo = qw(my/file/with/40+lines);
>print substr ( $foo,0,39 );
No, that's printing the first 39 characters of the string $foo.
If you have
All,
was hoping for some advice. :)
I have a file that looks like this:
e4343
d3434
34344
43434
de434
and I am printing the first 40 lines using
$foo = qw(my/file/with/40+lines);
print substr ( $foo,0,39 );
but how do I print all of these lines on one line with a space meaning
e4343 d34