I have a script like this:
for i in *.TF; do my command $i done
The problem is, each command line needs a same input (in this case:
how can I do this? I have tested some methods like:
/PS | ./mybash.csh
It only works in first iteration. Just in case, /PS is some text (input) and I want feed it as input to each iteration of my command.