echo “#!” fails — “event not found”

前端 未结 5 860
长情又很酷
长情又很酷 2020-11-22 08:30

The following fails and I don\'t understand why:

$ echo \"#!\"

the following also fails with the same error message:

$ echo         


        
5条回答
  •  面向向阳花
    2020-11-22 09:01

    In my case all commands are working. Maybe you can specify your environment.

    $ echo "\#\!"
    \#\!
    $ echo "#!"
    echo "#"
    #
    $ echo "#!"
    echo "#"
    #
    $ echo $BASH_VERSION
    3.2.48(1)-release
    

提交回复
热议问题