diff --git a/man/man1/Makefile b/man/man1/Makefile index 8cae1d90d..3f2fc78ec 100644 --- a/man/man1/Makefile +++ b/man/man1/Makefile @@ -1,13 +1,13 @@ MAN= acd.1 anm.1 ar.1 ash.1 asize.1 at.1 banner.1 basename.1 \ bsfilt.1 cal.1 \ - calendar.1 cat.1 cawf.1 cc.1 cdiff.1 cgrep.1 chgrp.1 \ + calendar.1 cat.1 cawf.1 cc.1 cdiff.1 chgrp.1 \ chmem.1 chmod.1 cksum.1 clear.1 cmp.1 comm.1 compress.1 \ cp.1 crc.1 crontab.1 ctags.1 cut.1 dd.1 dev2name.1 \ df.1 dhrystone.1 diff.1 dosdir.1 dosread.1 doswrite.1 du.1 \ dumpcore.1 easypack.1 echo.1 ed.1 eject.1 elvis.1 elvrec.1 \ - env.1 expand.1 expr.1 factor.1 fgrep.1 file.1 \ + env.1 expand.1 expr.1 factor.1 file.1 \ finger.1 flexdoc.1 fmt.1 fold.1 format.1 fortune.1 \ - fsck.1 grep.1 head.1 host.1 hostaddr.1 id.1 ifdef.1 \ + fsck.1 head.1 host.1 hostaddr.1 id.1 ifdef.1 \ install.1 isodir.1 isoinfo.1 isoread.1 join.1 kill.1 \ last.1 leave.1 loadfont.1 loadkeys.1 logger.1 login.1 \ look.1 lp.1 ls.1 lspci.1 M.1 mail.1 make.1 makewhatis.1 \ diff --git a/man/man1/cgrep.1 b/man/man1/cgrep.1 deleted file mode 100644 index 4f2ce3dc1..000000000 --- a/man/man1/cgrep.1 +++ /dev/null @@ -1,33 +0,0 @@ -.TH CGREP 1 -.SH NAME -cgrep \- grep and display context -.SH SYNOPSIS -\fBcgrep\fR [\fB\-a \fIn\fR]\fR [\fB\-b \fIn\fR] [\fB\-f\fR] [\fB\-l \fIn\fR] [\fB\-n\fR] [\fB\-w \fIn\fR] \fIpattern\fR [\fIfile\fR] ...\fR -.br -.de FL -.TP -\\fB\\$1\\fR -\\$2 -.. -.de EX -.TP 20 -\\fB\\$1\\fR -# \\$2 -.. -.SH OPTIONS -.FL "\-a" "How many lines to display after the matching line" -.FL "\-b" "How many lines to display before the matching line" -.FL "\-f" "Suppress file name in the output" -.FL "\-l" "Lines are truncated to this length before comparison" -.FL "\-n" "Suppress line numbers in the output" -.FL "\-w" "Sets window size (same as \fB\-a\fR n \fB\-b\fR n)" -.SH EXAMPLES -.EX "cgrep \-w 3 hello file1" "Print 3 lines of context each way" -.SH DESCRIPTION -.PP -\fICgrep\fR is a program like \fIgrep\fR, except that it also can print -a few lines above and/or below the matching lines. -It also prints the line numbers of the output. -.SH "SEE ALSO" -.BR grep (1), -.BR fgrep (1). diff --git a/man/man1/fgrep.1 b/man/man1/fgrep.1 deleted file mode 100644 index 26c94a8b9..000000000 --- a/man/man1/fgrep.1 +++ /dev/null @@ -1,35 +0,0 @@ -.TH FGREP 1 -.SH NAME -fgrep \- fixed grep -.SH SYNOPSIS -\fBfgrep\fR [\fB\-cfhlnsv\fR]\fR [\fIstring_file\fR] [\fIstring\fR] [\fIfile\fR] ...\fR -.br -.de FL -.TP -\\fB\\$1\\fR -\\$2 -.. -.de EX -.TP 20 -\\fB\\$1\\fR -# \\$2 -.. -.SH OPTIONS -.FL "\-c" "Count matching lines and only print count, not the lines" -.FL "\-f" "Take strings from file named in following argument" -.FL "\-h" "Omit file headers from printout" -.FL "\-l" "List file names once only" -.FL "\-n" "Each line is preceded by its line number" -.FL "\-s" "Status only, no output" -.FL "\-v" "Print only lines not matching" -.SH EXAMPLES -.EX "fgrep % prog.c" "Print lines containing % sign" -.EX "fgrep \-f pattern prog.c" "Take strings from \fIpattern\fR" -.SH DESCRIPTION -.PP -\fIFgrep\fR is essentially the same as grep, except that it only searches -for lines containing literal strings (no wildcard characters). The pattern -may consist of several lines with one string to search on each line. -.SH "SEE ALSO" -.BR cgrep (1), -.BR grep (1). diff --git a/man/man1/grep.1 b/man/man1/grep.1 deleted file mode 100644 index b74b0f579..000000000 --- a/man/man1/grep.1 +++ /dev/null @@ -1,50 +0,0 @@ -.TH GREP 1 -.SH NAME -grep \- search a file for lines containing a given pattern -.SH SYNOPSIS -\fBgrep\fR [\fB\-elnsv\fR] \fIpattern\fR [\fIfile\fR] ...\fR -.br -.de FL -.TP -\\fB\\$1\\fR -\\$2 -.. -.de EX -.TP 20 -\\fB\\$1\\fR -# \\$2 -.. -.SH OPTIONS -.FL "\-e" "\fB\-e \fIpattern\fR is the same as \fIpattern\fP -.FL "\-c" "Print a count of lines matched" -.FL "\-i" "Ignore case" -.FL "\-l" "Print file names, no lines" -.FL "\-n" "Print line numbers" -.FL "\-s" "Status only, no printed output" -.FL "\-v" "Select lines that do not match" -.SH EXAMPLES -.EX "grep mouse file " "Find lines in \fIfile\fP containing \fImouse\fP" -.EX "grep [0\-9] file" "Print lines containing a digit" -.SH DESCRIPTION -.PP -.I Grep -searches one or more files (by default, \fIstdin\fR) and selects out -all the lines that match the pattern. -All the regular expressions accepted by -.I ed -and -.I mined -are allowed. -In addition, + can be used instead of \(** to mean 1 or more occurrences, -? can be used to mean 0 or 1 occurrences, and -| can be used between two regular expressions to mean either -one of them. -Parentheses can be used for grouping. -If a match is found, exit status 0 is returned. -If no match is found, exit status 1 is returned. -If an error is detected, exit status 2 is returned. -.SH "SEE ALSO" -.BR cgrep (1), -.BR fgrep (1), -.BR sed (1), -.BR awk (1x).