⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 grep.1

📁 UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱昂氏unix源代码分析都是用的该版
💻 1
字号:
.th GREP I 5/15/74.sh NAMEgrep \*- search a file for a pattern.sh SYNOPSIS.bd grep[.bd \*-v] [.bd \*-b] [.bd \*-c] [.bd \*-n] expression [ file ] ....sh DESCRIPTION.it Grepsearches the input files(standard input default)for lines matching theregular expression.Normally, each line foundis copied to the standard output.If the.bd \*-vflag is used,all lines but those matchingare printed.If the.bd \*-cflag is used,only a count of matching lines is printed.If the.bd \*-nflag is used,each line is precededits relative line number in the file.If the.bd \*-bflag is used,each line is preceded by the block numberon which it was found.This is sometimes useful in locatingdisk block numbers by context..s3In all cases the file name is shown if there is more than one input file..s3For a complete descriptionof the regular expression,see ed (I).Care should be taken whenusing the characters$ * [ ^ | ( ) and \\ in the regularexpression as they arealso meaningful to the Shell.It is generally necessary to enclose theentire.it expressionargument in quotes..sh "SEE ALSO"ed (I), sh (I).sh BUGSLinesare limited to 256 characters;longer lines are truncated.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -