echo命令总使用,但是总也没有用过选项,今天看了一下,还有几个选项,下面解释一下。
-n do not output the trailing newline
不换行
-e enable interpretation of the backslash-escaped characters listed
below
字符串内的反斜杠解释有效
-E disable interpretation of those sequences in STRINGs
字符串内的反斜杠解释无效
-e 和 -E同时使用,后面的选项起效。