hi yaman

what i missed
it keep saying
Can't Open Input "ls" A file or directory in the path 

#######
FILE=oui.txt

for target in 'ls /usr/local/bin/*.so'
do
o2x $target >> $FILE
done
############

thanx

--- Yaman Saqqa <[EMAIL PROTECTED]> wrote:

> simple starting point, hope it helps.
> #!/bin/bash
> ###################
> OFILE=/path/to/your/outputfile
> 
> for target in `ls -1 [yourtargetpath]`
> do
>     /path/to/command $target >> $FILE
> done
> ###################
> 
> On Mon, 21 Feb 2005 06:57:04 -0800 (PST), Husam
> Habannakeh
> <[EMAIL PROTECTED]> wrote:
> > i was a bad student while khamees bash lectures
> > i need this little help
> > 
> > i need a script to do the following
> > 
> > perform the following command
> > (command filename.ee) > output
> > 
> > i need to do this command for all files in
> directory
> > populated with (ls) command
> > 
> > and i need the output of (command filename.ee)
> > appended in one text file
> > 
> > is this hard to do or should i do it manually
> > and thanx
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - Find what you need with new enhanced
> search.
> > http://info.mail.yahoo.com/mail_250
> > 
> > _______________________________________________
> > General mailing list
> > [email protected]
> >
> http://jolug.org/mailman/listinfo/general_jolug.org
> > 
> 
> 
> -- 
> abulyomon
> 
> www.KiLLTHeUPLiNK.com
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://jolug.org/mailman/listinfo/general_jolug.org
> 



                
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page � Try My Yahoo!
http://my.yahoo.com 

_______________________________________________
General mailing list
[email protected]
http://jolug.org/mailman/listinfo/general_jolug.org

Reply via email to