为什么使用带触摸的HERE文档会产生“触摸:缺少文件操作数”?

问题描述 投票:0回答:0
$ touch << EOF
  file1
  file2
  file3
EOF
touch: missing file operand
Try 'touch --help' for more information.

不应该创建文件吗?

bash touch
© www.soinside.com 2019 - 2024. All rights reserved.