This topic created in 3298 days ago, the information mentioned may be changed or developed.
3 replies • 2017-08-23 18:03:33 +08:00
 |
|
1
300 Aug 23, 2017 via Android
sed 's/^/#/g' file sed 's/要替换什么 /要替换成什么 /g' file 应该是这样了#。#
|
 |
|
3
yanzixuan Aug 23, 2017
感觉还是 awk 用起来更直观一些 cat xxxx | awk '{print "你要的注释"$0}'
|