标签: linux
我使用cat * .txt来编写发送邮件中的输出,但我需要将每个文件放在一个单独的行上。 管理文件出现在新行上的最佳方法是什么?
答案 0 :(得分:1)
试试这个:
for i in *.txt; do cat $i; echo; done | your_other_command