That script test.sh doesn't work after used pipe command. The result shows nothing. Why?
test.sh
#!/bin/bashfun=$( echo $1 )echo "$fun"
commands are as follows,
$ echo 1 | ./test.sh
Aucun commentaire:
Enregistrer un commentaire