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

Re: Shell Scripting Question



 --- Sunny Dubey <dubeys@bxscience.edu> wrote: > 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



the problem is with -l switch




> 
> 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
> 
> 
> -- 
> To UNSUBSCRIBE, email to
> debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>  

=====
S.KIEU

http://briefcase.yahoo.com.au - Yahoo! Briefcase
- Manage your files online.



Reply to: