Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 shell 脚本在文本文件中插入以哈希开头的一行文本,使用如下内容:
ex run <<EOEX :i #!/bin/bash #SBATCH . :x EOEX
但我希望它实际插入以散列开头的那些行,而不是将它们视为注释。谢谢!