Adr*_*ian 5 regex bash perl
我想在文本文件的每一行的开头添加一个"字符.有没有简单的解决方案?
Aif*_*Aif 6
perl -p -e 's/^/"/' myfile 应该这样做!
perl -p -e 's/^/"/' myfile
$ cat myfile 0 1 2 3 4 5 6 7 8 9 10 $ perl -p -e 's/^/"/' myfile "0 "1 "2 "3 "4 "5 "6 "7 "8 "9 "10
归档时间:
14 年,10 月 前
查看次数:
5332 次
最近记录: