例如.
me$ FOO="BAR * BAR" me$ echo $FOO BAR file1 file2 file3 file4 BAR
并使用"\"转义字符:
me$ FOO="BAR \* BAR" me$ echo $FOO BAR \* BAR
我显然做了一些愚蠢的事.
如何获得输出"BAR*BAR"?
bash shell escaping
bash ×1
escaping ×1
shell ×1