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

📄 fgrep.1

📁 操作系统设计与实现源码
💻 1
字号:


FGREP(1)                  Minix Programmer's Manual                   FGREP(1)


NAME
     fgrep - fixed grep

SYNOPSIS
     fgrep [-cfhlnsv] [string_file] [string] [file] ...

OPTIONS

     -c   Count matching lines and only print count, not the lines

     -f   Take strings from file named in following argument

     -h   Omit file headers from printout

     -l   List file names once only

     -n   Each line is preceded by its line number

     -s   Status only, no output

     -v   Print only lines not matching

EXAMPLES

     fgrep % prog.c      # Print lines containing % sign

     fgrep -f pattern prog.c
                         # Take strings from pattern

DESCRIPTION

     Fgrep 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.

SEE ALSO
     cgrep(1), grep(1).















                                                                             1

⌨️ 快捷键说明

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