Re: A little bash/perl programming help?



Ivan Marsh wrote:

....
If you don't want a varying length header, then just print 2 lines, as in:

print 1 2 3
print 123456789012345678901234567890123...

Or am I missing something here?

If the file is greater than 80 characters it has to split the lines and
continue counting.

Aha, as in:

9 0 1
123456789012345678901234567890123...

the rest of the line


What happens at 100? An extra row with a one above all subsequent 10s markers, or just a 1 above the 100 marker?

I'm trying to get the data off of the machine at this point just to see
how the script was written. But I have a feeling recovery is a lost
cause.

good luck

.



Relevant Pages