On Thu, Sep 4, 2008 at 7:47 AM, Patrick Shanahan <paka@opensuse.org> wrote:
* Brian K. White <brian@aljex.com> [09-04-08 06:35]:
Becomes this:
DONE=false until $DONE ;do IFS="" read || DONE=true [...] done <infile >outfile
Shouldn't you clean-up after yourself and reset the $IFS to it's expected value?
I don't normally bother. When the batch script ends, all the local variables will go away anyway. FYI: Not true if the script is invoked via the '.' operator. ie. . <path/to/script> Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org