Suppose I have a bash shell script called Myscript.sh that need on argument as input.
But I want the content of the text file called text.txt to be that argument.
I have tried this but it does not work:
# cat text.txt | ./Myscript.sh
Do we have a way to do it?