Linux:在行首添加指定字符

sed 's/^/JJJ /' 1.txt

会在行首增加JJJ和一个空格

posted @ 2022-09-08 16:01  YlnChen  阅读(103)  评论(0)    收藏  举报