I have a script like this:for i in *.TF; domy command $i doneThe problem is, each command line needs a same input (in this case: /PS)how can I do this? I have tested some methods like:/PS | ./mybash.cshIt 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.
Input in bash script
shell script