Searched defs:grep (Results 1 - 2 of 2) sorted by path

/illumos-gate/usr/src/cmd/grep/
H A Dgrep.c28 * grep - pattern matching program - combined grep, egrep, and fgrep.
29 * Based on MKS grep command, with XCU & Solaris mods.
88 static int matched = 0; /* return of the grep() */
125 static int grep(int, const char *);
147 * mainline for grep
295 /* based on options order h or H is set as in GNU grep */
427 * -w cannot be specified with grep -F
439 * -l or -L overrides -H like in GNU grep. It also overrides -o.
449 * -q overrides -l & -c programmatically in grep() functio
922 grep(int fd, const char *fn) function
[all...]
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dgrep.sh34 function grep function
41 while ((1)) # look for grep options
90 cat > $tmp/grep <<\!
101 if (( $(grep -c 'foo*bar' $tmp/grep ) != 6))

Completed in 114 milliseconds