http://qs1969.pair.com?node_id=305282


in reply to splitting an input stream

Your script 'x' could output the offset into the file that it found itself at when it finished. Your wrapper script captures this, and the next time that it runs you use 'seek'(ref pg 779 Programming Perl 3rd Ed) to advance the file handle to that position the next time it runs

You add two parameters --echo-offset and --start-at-offset=fileoffset

Replies are listed 'Best First'.
Re: Re: splitting an input stream
by Nitrox (Chaplain) on Nov 07, 2003 at 13:19 UTC
    I cannot change x

    -Nitrox