echo “-e” doesn't print anything

后端 未结 10 2211
谎友^
谎友^ 2020-12-03 22:11

I\'m using GNU bash, version 3.00.15(1)-release (x86_64-redhat-linux-gnu). And this command:

echo \"-e\" 

doesn\'t print anything. I guess

10条回答
  •  孤城傲影
    2020-12-03 22:42

     
    [root@scintia mail]# POSIXLY_CORRECT=1; export POSIXLY_CORRECT
    [root@scintia mail]# /bin/echo "-e"
    -e
    [root@scintia mail]#
    

提交回复
热议问题