18
ho questo script di esempio shell:args pass per script quando passando attraverso il tubo
echo /$1/
così che io possa chiamare
$ . ./script 5
# output: /5/
voglio tubo lo script in sh (elle), ma può Ho passato anche l'arg?
cat script | sh
# output: //
o, preferibilmente, 'bash -s 5