sou*_*ser 4 bash shell
如果我在包含多个反斜杠'\\'的shell脚本中使用here文档,则shell会将其转换为单个反斜杠.我可以在不更改文本的情况下解决此问题吗?
$ cat <<EOF > Print \\hello \\world > EOF Print \hello \world
<<EOF
> Print \\hello \\world
> EOF
Pau*_*ce. 10
引用这里的开头文档标记:
cat <<'EOF' Print \\hello \\world EOF
归档时间:
13 年,5 月 前
查看次数:
1488 次
最近记录: