摘要: 在 Linux 和 Unix 的 shell 中有一个不为人知的功能,它能让你用 cat 命令打开一个 do-while 循环。它被称为 heredoc,无论你使用什么 shell,它都能让你或多或少地拥有一个文本编辑器。 heredoc的语法是: $ cat << EOF >> example.t 阅读全文
posted @ 2021-01-12 11:42 linux-123 阅读(206) 评论(0) 推荐(0) 编辑