How to send text from stdin to a script

前端 未结 0 950
日久生厌
日久生厌 2021-01-29 12:32

Other than doing:

$ ./script < myfile.txt

Is there a way to pass text directly in the command-line, for example something like:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题