
如何使用Shell命令打印文件中空行的行号?
本文共计160个文字,预计阅读时间需要1分钟。1. 使用bash脚本输出文本文件`nowcoder.txt`中空行的行号,可能连续,从1开始。bashawk '^${print NR}' nowcoder.txt1.写一
共收录篇相关文章

本文共计160个文字,预计阅读时间需要1分钟。1. 使用bash脚本输出文本文件`nowcoder.txt`中空行的行号,可能连续,从1开始。bashawk '^${print NR}' nowcoder.txt1.写一