how to pass an argument to pipe code example
Example: use pipe output as argument
Try to write your pipe command with following structure´s principle:
./Myscript.sh "$(cat text.txt)"
So that your pipe output is generated in an intrinsic $(pipe_output).