2010-11-18 8 views

Antwort

0
$ your_script your...really...long...parameter 

Wo your_script besteht aus:

#!/bin/ksh 
do_something_with "$1" 

oder

$ command_with_large_output | your_script 

Wo your_script besteht aus:

#!/bin/ksh 
while read -r line 
do 
    do_something_with "$line" 
done 

Andere Kombinationen sind möglich.