“bad variable name” using “read var”

前端 未结 2 812
清歌不尽
清歌不尽 2021-01-12 20:13

I am getting confused about Linux shells. It may be that I oversee something obvious as a Linux noob.

All I want is the following script to run:

#!/b         


        
2条回答
  •  日久生厌
    2021-01-12 20:59

    Here are a list of editors that support unix newline character.

    Brackets has an extension for new-line/end-of-line support and it is built-in in Notepad++. Go to the 'Edit' tab. Find 'EOL Conversions' and select Unix (LF). That should get it done.

提交回复
热议问题