📜  如何在行前添加字符 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:45.912000             🧑  作者: Mango

代码示例1
cat new.txt | awk '{print "whatever you want" $0 }' > new_tmp.txt

$0 print all the line again