查找文件中某单词相邻的行 #47
guodongxiaren
started this conversation in
教程
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
这个就需要grep的ABC选项了。每个选项后面都跟数字,表示的是行数。
也就是说C包含了AB的功能,比如:
查询a.txt中xxx出现的位置以及它所在行的前后5行
Beta Was this translation helpful? Give feedback.
All reactions