diff options
author | 2019-01-23 23:00:54 +0000 | |
---|---|---|
committer | 2019-01-23 23:00:54 +0000 | |
commit | 3a21e4794751456cc453dc37b1a11d23c52ae4a0 (patch) | |
tree | 235cf9f62c4d1432cfaac7c07d10660fb5702bdc /usr.bin/grep/grep.c | |
parent | eliminate a ?: in witness mtx initializer by pushing the default one (diff) | |
download | wireguard-openbsd-3a21e4794751456cc453dc37b1a11d23c52ae4a0.tar.xz wireguard-openbsd-3a21e4794751456cc453dc37b1a11d23c52ae4a0.zip |
rework grep_open to be more careful about directories.
cleaner, but should be no functional change.
from Lauri Tirkkonen
Diffstat (limited to 'usr.bin/grep/grep.c')
-rw-r--r-- | usr.bin/grep/grep.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/grep/grep.c b/usr.bin/grep/grep.c index 913cc97a0f3..fc0b7dc01c4 100644 --- a/usr.bin/grep/grep.c +++ b/usr.bin/grep/grep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grep.c,v 1.57 2017/12/10 09:17:24 jmc Exp $ */ +/* $OpenBSD: grep.c,v 1.58 2019/01/23 23:00:54 tedu Exp $ */ /*- * Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav @@ -63,9 +63,7 @@ int Fflag; /* -F: interpret pattern as list of fixed strings */ int Hflag; /* -H: always print filename header */ int Lflag; /* -L: only show names of files with no matches */ int Rflag; /* -R: recursively search directory trees */ -#ifndef NOZ int Zflag; /* -Z: decompress input before processing */ -#endif int bflag; /* -b: show block numbers for each match */ int cflag; /* -c: only show a count of matching lines */ int hflag; /* -h: don't print filename headers */ |