I got confused, and figured I need some help. I try to get 'Execute a Shell Script' v10+ to work with text input. Couldn't find explanation of the usage of input with text (or input with variable).
I would expect the input arrives as $1 or $1...$n but it doesn't.
What do I do wrong? Or what do I miss to get this simple example working? Thanks for the help.
Thank you, for your time and answer! I just found out that the documentation of 'Execute a Shell Script' states: 'You can choose what input (stdin) to send to the script'. Which means no $1...$n
For future reference for people running by this topic:
Regarding the (bash) read command. There are various processing options for stdin:
The only problem left is, that if there are several lines in the input AND the last line does not have a newline (at the end), it doesn't get read this way.