偶然发现sed "1i \t helloworld" -i sed.txt 执行结果并未在行首出现tab制表符而是t字符。
解决办法是sed "1i \\t helloworld" -i sed.txt
sed在行首插入tab制表符
最新推荐文章于 2023-03-22 17:32:46 发布
偶然发现sed "1i \t helloworld" -i sed.txt 执行结果并未在行首出现tab制表符而是t字符。
解决办法是sed "1i \\t helloworld" -i sed.txt