I'd use something like perl[1] to read (2 lines initially) and then each line of the original file, generate the intermediate lines by comparing each line to the one before... printing the new generated lines to stdout (or a specified file if desired).

Cheers

Mark

[1], perl, php, python, awk etc ... probably a bit tricky for bash (tho there's probably someone out there who would try it...)

Mark Knecht wrote:
Hi,
   I know this is EXTREMELY off topic but I don't know of another
better list to ask on. I'm hoping maybe there is a Linux command line
method for doing this. Thanks in advance.


--
[EMAIL PROTECTED] mailing list

Reply via email to