摘要: https://stackoverflow.com/questions/10577256/numbering-lines-matching-the-pattern-using-sed 最简单的命令是 sed - '/abc/=' tab.txt 812 这种只是输出行号。 root@ubuntu:/ 阅读全文
posted @ 2017-07-28 00:10 uxiuxi 阅读(5129) 评论(0) 推荐(0)