space char shell script problem

RW fbsd06 at mlists.homeunix.com
Sat Aug 23 11:41:51 UTC 2008


On Sat, 23 Aug 2008 06:19:42 -0400
David Banning <david+dated+1219918782.39167f at skytracker.ca> wrote:

> 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 *


More information about the freebsd-questions mailing list