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

/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))
/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.
86 static int matched = 0; /* return of the grep() */
121 static int grep(int, const char *);
129 * mainline for grep
266 /* based on options order h or H is set as in GNU grep */
389 * -w cannot be specified with grep -F
401 * -l overrides -H like in GNU grep
409 * -q overrides -l & -c programmatically in grep() functio
892 grep(int fd, const char *fn) function
[all...]

Completed in 141 milliseconds