Eric Crist writes:

>  > If you're using bash, set IFS to the newline only before looping. I  
>  > guess the
>  > tcsh also has a similar setting, but I wouldn't know where to look.
>  >
>  > ---
>  > IFS="
>  > "
>  
>  This also works for sh.  To the OP, simply add the lines above
>  your for listed above to your script, and it should work.  No
>  bash required.

        Tested and confirmed.
        Thanks everyone - the script works.


                                Robert Huff
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to