Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2002 22:10:17 -0500 (EST)
From:      Andre Guibert de Bruet <andy@siliconlandmark.com>
To:        doc@freebsd.org
Subject:   grep(1) manpage
Message-ID:  <20021202220938.D36900-100000@alpha.siliconlandmark.com>

next in thread | raw e-mail | index | archive | help
Hello,

The grep(1) manpage (-STABLE, might apply to -CURRENT) reads as follows:

NAME
       grep, egrep, fgrep, zgrep - print lines matching a pattern

<...snip...>

       In  addition,  two  variant  programs  egrep and fgrep are
       available.  egrep is the same as grep -E.   fgrep  is  the
       same as grep -F.  zgrep is the same as grep -Z.

The grep command has four flavors, three of which are variants.  Doing an
'ls -loi' on each of the binaries will reveal that they share the same
inode:

10874952 -r-xr-xr-x  6 root  wheel  - 53600 Dec  2 18:17 /usr/bin/grep
10874952 -r-xr-xr-x  6 root  wheel  - 53600 Dec  2 18:17 /usr/bin/egrep
10874952 -r-xr-xr-x  6 root  wheel  - 53600 Dec  2 18:17 /usr/bin/fgrep
10874952 -r-xr-xr-x  6 root  wheel  - 53600 Dec  2 18:17 /usr/bin/zgrep

Regards,

> Andre Guibert de Bruet | Enterprise Software Consultant >
> Silicon Landmark, LLC. | http://siliconlandmark.com/    >

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021202220938.D36900-100000>