[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Shell Scripting Question



Hey,

how come the followind doesn't seem to work ...


for i in `ls -1 /some/dir` ; do
	cat /some/dir/"$i" >> /usr/fruits.txt
done

cat just gives me the odd error of files not being found, however, I can't 
see why the files wouldn't be found ... hrrm ...

thanks much for any info you might provide

=)
Sunny Dubey



Reply to: