diff options
Diffstat (limited to 'usr.bin/grep/grep.c')
-rw-r--r-- | usr.bin/grep/grep.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/usr.bin/grep/grep.c b/usr.bin/grep/grep.c index 8ce4202eff9..f868066db09 100644 --- a/usr.bin/grep/grep.c +++ b/usr.bin/grep/grep.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: grep.c,v 1.3 2003/06/22 22:20:07 deraadt Exp $ + * $Id: grep.c,v 1.4 2003/06/22 22:23:06 deraadt Exp $ */ #include <sys/types.h> @@ -330,6 +330,17 @@ main(int argc, char *argv[]) break; case 'z': Zflag++; + switch(progname[1]) { + case 'e': + Eflag++; + break; + case 'f': + Fflag++; + break; + case 'g': + Gflag++; + break; + } break; } |