[clue-tech] Bash script question

Angelo Bertolli angelo at freeshell.org
Wed Sep 14 15:42:41 MDT 2005


I have a shell script that does something like this:

for file in `ls`
do

However, I would rather be able to pipe a list of items into the script, 
instead of relying always on ls:

ls | myscript

Is this possible?

Angelo

_______________________________________________
CLUE-tech mailing list
CLUE-tech at cluedenver.org
http://cluedenver.org/mailman/listinfo/clue-tech



More information about the clue-tech mailing list