From owner-freebsd-doc Mon Dec 2 19:10:25 2002 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4A9037B401 for ; Mon, 2 Dec 2002 19:10:24 -0800 (PST) Received: from alpha.siliconlandmark.com (alpha.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 386A243E9C for ; Mon, 2 Dec 2002 19:10:24 -0800 (PST) (envelope-from andy@siliconlandmark.com) Received: from alpha.siliconlandmark.com (localhost [127.0.0.1]) by alpha.siliconlandmark.com (8.12.6/8.12.6) with ESMTP id gB33ANFo036911 for ; Mon, 2 Dec 2002 22:10:23 -0500 (EST) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost) by alpha.siliconlandmark.com (8.12.6/8.12.6/Submit) with ESMTP id gB33AIpw036908 for ; Mon, 2 Dec 2002 22:10:18 -0500 (EST) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: alpha.siliconlandmark.com: andy owned process doing -bs Date: Mon, 2 Dec 2002 22:10:17 -0500 (EST) From: Andre Guibert de Bruet To: doc@freebsd.org Subject: grep(1) manpage Message-ID: <20021202220938.D36900-100000@alpha.siliconlandmark.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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