RW writes:

>  > I am running into a problem with the space character in filenames.
>  > For instance, If I want to run the script;
>  > 
>  > for x in `ls`
>  > do
>  >   echo $x
>  > done
>  
>  for x in *

        There's the (poorly documented, IMO) IFS (internal field
separator) shell variable.  It's a string, normally set to space and
tab; set it to newline and good things can happen.


                                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