David selby <[EMAIL PROTECTED]> writes: > This seems a bit of a bodge and I am sure there is a better way..
Personally, I don't see anything wrong with it... You _could_ do something like (cd $tempdir/websync ; echo $scanhtml | csplit -f index -q - /lock/ {*} ) or echo $scanhtml | (cd $tempdir/websync; csplit -f index -q - /lock/ {*} ) but I don't think that's any more readable. -- Alan Shutko <[EMAIL PROTECTED]> - I am the rocks. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]