Bash - How to pass arguments to a script that is read via standard input

前端 未结 2 642
天涯浪人
天涯浪人 2021-01-31 14:40

I am trying execute a script from standard input and also pass arguments to it. Is there a way to do it?

Let\'s say that I have the following:

cat script         


        
2条回答
提交回复
热议问题