| /freebsd-12.1/contrib/netbsd-tests/usr.bin/grep/ |
| H A D | t_grep.sh | 84 grep -r string test 239 grep -z -A1 cod test1 test2 242 grep -z -B1 cod test1 test2 245 grep -z -C1 cod test1 test2 260 local grep_version=$(grep --version) 319 grep -xf pattern_file match_file 509 atf_check -s exit:1 grep -v -w "x" test1 510 atf_check -s exit:1 grep -v -w "x" test2 568 atf_check -o empty grep -q -e "B" test1 623 atf_check -s exit:1 grep -I 'B' test2 [all …]
|
| /freebsd-12.1/contrib/atf/atf-sh/ |
| H A D | atf_check_test.sh | 66 grep 'stderr' stderr >/dev/null && \ 68 grep '^-foo' stderr >/dev/null || \ 70 grep '^+bar' stderr >/dev/null || \ 89 grep 'stdout' stderr >/dev/null && \ 93 grep '^-foo' stderr >/dev/null || \ 95 grep '^+bar' stderr >/dev/null || \ 113 grep 'stdout not empty' stderr >/dev/null || \ 115 grep 'stderr' stderr >/dev/null && \ 135 grep 'stdout' stderr >/dev/null && \ 180 grep 'Executing command.*true' out \ [all …]
|
| /freebsd-12.1/usr.sbin/pc-sysinstall/backend/ |
| H A D | startautoinstall.sh | 49 PCCFG=`grep "pc_config:" ${CONF} | grep -v "^#" | sed "s|pc_config: ||g" | sed "s|pc_config:||g"` 50 SHUTDOWN_CMD=`grep "shutdown_cmd:" ${CONF} | grep -v "^#" | sed "s|shutdown_cmd: ||g" | sed "s|shut… 51 CONFIRM_INS=`grep "confirm_install:" ${CONF} | grep -v "^#" | sed "s|confirm_install: ||g" | sed "s… 54 echo "${PCCFG}" | grep -q -e "^http" -e "^ftp" 2>/dev/null 71 …NICCFG=`grep "nic_config:" ${CONF} | grep -v "^#" | sed "s|nic_config: ||g" | sed "s|nic_config:||… 80 NICDNS=`grep "nic_dns:" ${CONF} | grep -v "^#" | sed "s|nic_dns: ||g" | sed "s|nic_dns:||g"` 81 …NICGATE=`grep "nic_gateway:" ${CONF} | grep -v "^#" | sed "s|nic_gateway: ||g" | sed "s|nic_gatewa…
|
| H A D | functions-disk.sh | 64 echo "$i" | grep -q "^sysid" 2>/dev/null 98 echo "$i" | grep -q "^sysid" 2>/dev/null 276 ztst=`zpool status ${i} | grep "ONLINE" | awk '{print $1}' | grep -q ${DISK}` 311 echo $i | grep -q '.eli' 2>/dev/null 347 echo "${DISK}" | grep -q '^/dev/' 367 echo $line | grep -q "^mirror=" 2>/dev/null 375 echo "${MIRRORDISK}" | grep -q '^/dev/' 396 echo $line | grep -q "^mirrorbal=" 2>/dev/null 406 echo $line | grep -q "^partition=" 2>/dev/null 442 echo $line | grep -q "^image=" 2>/dev/null [all …]
|
| H A D | functions-users.sh | 77 echo $line | grep -q "^userName=" 2>/dev/null 84 echo $line | grep -q "^userComment=" 2>/dev/null 91 echo $line | grep -q "^userPass=" 2>/dev/null 98 echo $line | grep -q "^userEncPass=" 2>/dev/null 105 echo $line | grep -q "^userShell=" 2>/dev/null 113 echo $line | grep -q "^userHome=" 2>/dev/null 120 echo $line | grep -q "^userGroups=" 2>/dev/null 128 echo $line | grep -q "^commitUser" 2>/dev/null
|
| H A D | functions-bsdlabel.sh | 38 echo ${VAL} | grep -q "^encpass=" 2>/dev/null 55 echo $LINE | cut -d ' ' -f 4 | grep -q '(' 2>/dev/null 59 echo $LINE | grep -q '^ZFS' 2>/dev/null 72 echo $i | grep -q '/dev/' 92 echo $LINE | grep -q '^UFS' 2>/dev/null 117 echo "$_zvars" | grep -q "${2}" 2>/dev/null 161 glabel status | grep -q "${NAME}${NUM}" 2>/dev/null 193 echo $line | grep -q "^${_dTag}-part=" 2>/dev/null 239 echo $line | grep -q "^${_dTag}-part=" 2>/dev/null 253 echo ${FS} | grep -q ".eli" 2>/dev/null [all …]
|
| H A D | functions-parse.sh | 62 export VAL=`grep "^${1}=" ${CFGF} | head -n 1 | cut -d '=' -f 2- | tr -d ' '` 76 VAL=`grep "^${1}" ${CFGF} | head -n 1 | cut -d '=' -f 2- | tr -d ' '` 109 VAL=`grep "^${1}" ${CFGF} | head -n 1 | cut -d '=' -f 2- | tr -d ' '` 135 grep -q "^${i}=" $CFGF 2>/dev/null 138 LN=`grep "^${i}=" ${CFGF} | head -n 1 | cut -d '=' -f 2- | tr -d ' '` 175 echo ${newline} | grep -q "^#" 2>/dev/null 178 cat ${OLDCFG} | grep -q ${VAL} 2>/dev/null
|
| /freebsd-12.1/gnu/usr.bin/grep/ |
| H A D | FREEBSD-upgrade | 3 GNU grep 6 http://ftp.gnu.org/pub/gnu/grep/ 17 grep-2.5-i18n.patch 18 grep-2.5.1-bracket.patch 19 grep-2.5.1-color.patch 20 grep-2.5.1-dfa-optional.patch 21 grep-2.5.1-egf-speedup.patch 22 grep-2.5.1-fgrep.patch 23 grep-2.5.1-icolor.patch 24 grep-2.5.1-oi.patch [all …]
|
| H A D | ChangeLog | 45 * doc/grep.texi, doc/grep.1, NEWS: Document --label 107 grep-2.5e.de.po grep-2.5e.el.po grep-2.5e.eo.po grep-2.5e.es.po 108 grep-2.5e.et.po grep-2.5e.fr.po grep-2.5e.gl.po grep-2.5e.it.po 109 grep-2.5e.pl.po grep-2.5e.sl.po 118 * grep/src/grep.c (usage): Typos corrected. 142 * grep/doc/grep.1: Likewised. 692 * doc/grep.1, doc/grep.texi, NEWS: 969 * doc/grep.texi, doc/grep.1: Document it. 1252 "BSD grep" -> "traditional grep". 1479 * src/grep.c, doc/grep{1,texi} : [all …]
|
| H A D | NEWS | 19 - GNU grep can now be built with autoconf 2.52. 28 grep -e '\(a\)\1' -e '\(b\)\1' 44 . The -q or --quiet or --silent option now causes grep to exit 92 - egrep is now equivalent to `grep -E' as required by POSIX, 94 `grep' is now more forgiving about stray `{'s, for backward 142 - When searching a binary file FOO, grep now just reports 154 Unix text utilities (in particular, of traditional `grep'). 155 Hence `grep PATTERN DIRECTORY' should report 161 `-d skip' causes `grep' to silently skip directories, as in grep 2.1; 163 as in earlier versions of grep. [all …]
|
| H A D | Makefile | 8 PROG= grep 12 SRCS= closeout.c dfa.c error.c exclude.c grep.c grepmat.c hard-locale.c \ 20 LINKS+= ${BINDIR}/grep ${BINDIR}/egrep \ 21 ${BINDIR}/grep ${BINDIR}/fgrep 22 MLINKS= grep.1 egrep.1 grep.1 fgrep.1 32 gnugrep.1: grep.1
|
| H A D | README | 1 This is GNU grep, the "fastest grep in the west" (we hope). All 5 GNU grep is provided "as is" with no warranty. The exact terms 9 GNU grep is based on a fast lazy-state deterministic matcher (about 14 than Unix grep or egrep. (Regular expressions containing backreferencing 23 See the file TODO for ideas on how you could help us improve grep. 26 include the word "grep" in your Subject: header field.
|
| /freebsd-12.1/contrib/netbsd-tests/usr.bin/config/ |
| H A D | t_config.sh | 170 grep -q '^ a\.c ' $f && 171 grep -q '^ b\.c ' $f && 172 grep -q '^ c\.c ' $f && 191 grep -q '^a\.o:' $f >>tmp 192 grep -q '^b\.o:' $f >>tmp 193 grep -q '^c\.o:' $f >>tmp 215 grep -q '^CFDRIVER_DECL(d, ' $f && 216 grep -q '&d_cd,' tmp.cfdriver && 220 grep -q '{ "d",' tmp.cfdata && 246 grep -q '^%' $f >tmp.template [all …]
|
| /freebsd-12.1/usr.sbin/freebsd-update/ |
| H A D | freebsd-update.sh | 1185 ! grep -qE \ 1222 grep -qE \ 1381 grep -E '^-' diff | 1387 grep -E '^\+' diff | 1512 grep ^/boot/$2 $1 | 1607 grep -E "^${X}" ${F} 1645 grep -E "^${X}" $1 1646 grep -E "^${X}" $3 1653 grep -E "^${X}" $2 2685 grep -E '^f' | [all …]
|
| /freebsd-12.1/usr.bin/grep/ |
| H A D | Makefile | 8 PROG= grep 9 MAN1= grep.1 zgrep.1 15 bsdgrep.1: grep.1 18 SRCS= file.c grep.c queue.c util.c 54 LINKS+= ${BINDIR}/grep ${BINDIR}/egrep \ 55 ${BINDIR}/grep ${BINDIR}/fgrep \ 56 ${BINDIR}/grep ${BINDIR}/rgrep \ 58 MLINKS+= grep.1 egrep.1 \ 59 grep.1 fgrep.1 \ 60 grep.1 rgrep.1
|
| H A D | zgrep.sh | 28 grep=grep 114 exec ${grep} -V 146 ${cattool} ${catargs} - | ${grep} ${grep_args} -- "${pattern}" - || ret=$? 154 ${grep} --label="${file}" ${grep_args} -- "${pattern}" - || ret=$?
|
| /freebsd-12.1/contrib/unbound/contrib/ |
| H A D | update-anchor.sh | 75 if grep '(secure)$' $tmpfile >/dev/null 2>&1; then 88 if grep ' has DNSKEY record 257' $tmpfile >/dev/null 2>&1; then 90 grep '(secure)$' $tmpfile | \ 91 grep ' has DNSKEY record 257' | \ 97 grep '(secure)$' $tmpfile | \ 105 if grep ' has DNSKEY record 257' $tmpfile >/dev/null 2>&1; then 107 grep '(secure)$' $tmpfile | \ 108 grep ' has DNSKEY record 257' | \ 114 grep '(secure)$' $tmpfile | \
|
| /freebsd-12.1/tools/ifnet/ |
| H A D | convert_drvapi.sh | 81 set=`echo $line| grep "$__ifp__->.* = "` 113 add=`echo $line|grep "$__ifp__->.*+= "` 130 or=`echo $line|grep "$__ifp__->.*|= "` 148 or=`echo $line|grep "$__ifp__->.*&= "` 166 if [ ! -z `echo $line | grep "\^="` ] 234 pat=`echo $line | grep "$__ifp__->"` 237 pat=`echo $line | grep "$__ifp__->"` 238 if [ ! -z `echo $pat | grep "$FAIL_PAT"` ] 280 if [ ! -z `echo $line | grep "$__ifp__->"` ] 287 if [ ! -z `echo $line | grep "struct ifnet"` ] [all …]
|
| /freebsd-12.1/usr.sbin/service/ |
| H A D | service.sh | 91 if grep -q ^rcvar $file; then 92 eval `grep ^name= $file` 93 eval `grep ^rcvar $file` 101 if grep -q ^rcvar $file; then 102 eval `grep ^name= $file` 103 eval `grep ^rcvar $file` 123 if grep -q ^rcvar $file; then 124 eval `grep ^name= $file` 125 eval `grep ^rcvar $file`
|
| /freebsd-12.1/tools/tools/release/ |
| H A D | chk_dokern.sh_and_drivers.conf | 32 grep -v '^#' $f | grep -v '^$' | awk '{ print $1 }' | 37 grep -qw $x && \ 46 grep -w -- -e | sed -e's,^[^/]*/,,' -e's,/.*$,,' | 47 grep -v '^ident\.\*GENERIC$' | 52 grep -qw ^$x ${arch}/drivers.conf && \
|
| /freebsd-12.1/usr.sbin/pw/tests/ |
| H A D | pw_usermod_test.sh | 15 grep "^test:.*" $HOME/master.passwd 27 grep "^test:.*" $HOME/master.passwd 38 grep "^test:.*:Test User,work,123,456:" $HOME/master.passwd 50 grep "^test:.*:Test User,home,123,456:" $HOME/master.passwd 64 grep "^test:\*" $HOME/master.passwd 78 grep "^test:\*" $HOME/master.passwd 89 grep "^bar:.*" $HOME/master.passwd 100 grep "^foo:.*" $HOME/master.passwd 143 grep "^bar:.*" ${HOME}/master.passwd 170 grep "^foo" ${HOME}/master.passwd [all …]
|
| H A D | pw_lock_test.sh | 13 grep "^test:\*LOCKED\*\*:1001:" $HOME/master.passwd 16 grep "^test:\*:1001:" $HOME/master.passwd 25 grep "^test:\*LOCKED\*\*:1001:" $HOME/master.passwd 28 grep "^test:\*:1001:" $HOME/master.passwd 33 grep "^1001:\*LOCKED\*\*:1002:" $HOME/master.passwd 36 grep "^1001:\*:1002:" $HOME/master.passwd
|
| H A D | pw_useradd_test.sh | 13 grep "^test:.*" $HOME/master.passwd 22 atf_check -s exit:1 -o empty grep "^test:.*" $HOME/master.passwd 32 grep '^test:.*:Test User,work!,123,[email protected]:' $HOME/master.passwd 42 atf_check -s exit:1 -o empty grep "^test:.*" $HOME/master.passwd 53 grep "^test:.*:Test User,work,123:456,456:" $HOME/master.passwd 63 atf_check -s exit:1 -o empty grep "^test:.*" $HOME/master.passwd 184 atf_check -s exit:1 -o empty grep "^test user:.*" $HOME/master.passwd 223 -s exit:0 grep "^foo" ${HOME}/master.passwd 228 -s exit:0 grep "^foo" ${HOME}/master.passwd 233 -s exit:0 grep "^foo" ${HOME}/master.passwd [all …]
|
| /freebsd-12.1/contrib/netbsd-tests/modules/ |
| H A D | t_modload.sh | 77 grep 'Invalid parameter.*foo' stderr 82 grep 'Invalid boolean value' stderr 87 grep 'Invalid boolean value.*bar' stderr 92 grep 'Invalid boolean value.*falsea' stderr 97 grep 'Invalid boolean value.*truea' stderr 127 grep 'Invalid parameter.*foo' stderr 132 grep 'Invalid integer value' stderr 137 grep 'Invalid integer value.*bar' stderr 142 grep 'Invalid integer value.*123a' stderr 181 grep 'Invalid parameter.*foo' stderr
|
| /freebsd-12.1/contrib/elftoolchain/ar/benchmark/ |
| H A D | acp.sh | 46 echo $op | grep -q ^cr && echo -n "create " 47 echo $op | grep -q ^t && echo -n "list " 48 echo $op | grep -q ^x && echo -n "extract " 51 echo $op | grep -q ^cr && rm -f $dst 52 echo $op | grep -q ^x && { rm -rf $ext; mkdir -p $ext 56 echo $op | grep -q ^x && cd $THISDIR
|