echo $scanhtml | csplit -f index -q - /lock/ {*}
I want the output to go to $tempdir/websync/ ... Is there a more elegant way than my present solution of ..
cd $tempdir/websync echo $scanhtml | csplit -f index -q - /lock/ {*}
This seems a bit of a bodge and I am sure there is a better way..
Dave
PS I used echo $scanhtml | because to use this directly in csplit seletes the file if a split is done !
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]