Home
last modified time | relevance | path

Searched full:grep (Results 1 – 25 of 1570) sorted by relevance

12345678910>>...63

/third_party/toybox/tests/
Dgrep.test10 testing "-c" "grep -c 123 input" "3\n" "123\ncount 123\n123\nfasdfasdf" ""
15 testing "-l" "grep -l test foo foo2 foo3" "foo\nfoo2\n" "" ""
18 testing "-q" "grep -q test input && echo yes" "yes\n" "this is a test\n" ""
19 testing "-E" "grep -E '[0-9]' input" "1234123asdfas123123\n1\n" \
21 testing "-e" "grep -e '[0-9]' input" "1234123asdfas123123\n1\n" \
23 testing "-e -e" "grep -e one -e two -e three input" \
25 testing "-F" "grep -F is input" "this is test\nthis is test2\n" \
31 testing "-H" "grep -H is foo foo2 foo3" "foo:this is test\nfoo:this is test2\nfoo2:hello this is te…
34 testing "-b" "grep -b is input" "0:this is test\n13:this is test2\n" \
36 testing "-i" "grep -i is input" "thisIs test\nthis is test2\n" \
[all …]
Difconfig.test6 # Commands used: grep, grep -i, ip link, ip tuntap, wc -l
45 "ifconfig dummy0 down && ifconfig | grep dummy | wc -l" \
51 "ifconfig dummy0 up && ifconfig dummy0 | grep dummy | wc -l" \
58 "ifconfig dummy0 10.240.240.240 && ifconfig dummy0 | grep 10\.240\.240\.240 | wc -l" \
65 "ifconfig dummy0 netmask 255.255.240.0 && ifconfig dummy0 | grep 255\.255\.240\.0 | wc -l" \
72 "ifconfig dummy0 broadcast 10.240.240.255 && ifconfig dummy0 | grep 10\.240\.240\.255 | wc -l" \
79 "ifconfig dummy0 default && ifconfig dummy0 | grep 10\.240\.240\.240 | wc -l" \
86 "ifconfig dummy0 mtu 1269 && ifconfig dummy0 | grep 1269 | wc -l" \
93 "ifconfig dummy0 add ::2 2>&1 | grep No\ buffer\ space\ available | wc -l" \
100 "ifconfig dummy0 mtu 2000 && ifconfig dummy0 | grep 2000 | wc -l" \
[all …]
Dgroupadd.test20 # Redirecting all output to /dev/null for grep and delgroup
26 grep '^toyTestGroup:' /etc/group $arg && groupdel toyTestGroup $arg &&
29 grep '^toy1Test2Group3:' /etc/group $arg && groupdel toy1Test2Group3 $arg &&
32 grep '^987654321:' /etc/group $arg && groupdel 987654321 $arg &&
35 grep '^toy.1Test-2Group.3:' /etc/group $arg &&
40 grep '^$_s210:' /etc/group $arg && groupdel $_s210 $arg && echo 'yes'" \
43 grep '^toyTestGroup:' /etc/group $arg && groupdel toyTestGroup $arg &&
46 "groupadd -g 49999 -S toyTestGroup && grep '^toyTestGroup:' /etc/group $arg &&
49 grep '^toyTestGroup:' /etc/group $arg && groupdel toyTestGroup $arg &&
52 grep '^toyTestGroup:' /etc/group $arg && groupadd $USER toyTestGroup &&
[all …]
Duseradd.test15 # Redirecting all output to /dev/null for grep, adduser and deluser
25 grep '^$user:' /etc/passwd $arg && [ -d /home/$user ] &&
31 grep '^$user:' /etc/passwd $arg && [ -d /home/$user ] &&
37 grep '^$user:' /etc/passwd $arg && [ -d /home/$user ] &&
43 grep '^$user:' /etc/passwd $arg && [ -d /home/$user ] &&
50 grep '^$user:' /etc/passwd $arg && [ -d /home/$user ] &&
56 grep '^$user:.*dir' /etc/passwd $arg && [ -d $PWD/dir ] &&
63 grep '^$user:.*$gecos' /etc/passwd $arg && [ -d /home/$user ] &&
69 grep '^$user:.*$shl$' /etc/passwd $arg && [ -d /home/$user ] &&
74 g_id=`grep $g_name':.*:.*' /etc/group | cut -d : -f 3`
[all …]
/third_party/libxml2/doc/examples/
DMakefile.am107 @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
109 @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
111 @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
113 @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
115 @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
117 @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
119 @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
121 @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
123 @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
125 @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
[all …]
/third_party/libxml2/
DMakefile.am248 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
267 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
286 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
300 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
315 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
318 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
320 …$(CHECKER) $(top_builddir)/xmllint result.$$name 2>&1 > result2.$$name | grep -v 'failed to load e…
321 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
333 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
336 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
[all …]
/third_party/gstreamer/gstplugins_bad/tools/
Dgst-element-maker81 pkg=`grep -A 10000 '^% pkg-config' $templatedir/$class | tail -n +2|grep -m 1 -B 10000 '^%'|head -n…
82 GST_TYPE_BASE_REPLACE=`grep -A 10000 '^% TYPE_CLASS_NAME' $templatedir/$class | tail -n +2|grep -m …
83 GstBaseReplace=`grep -A 10000 '^% ClassName' $templatedir/$class | tail -n +2|grep -m 1 -B 10000 '^…
84 pads=`grep -A 10000 '^% pads' $templatedir/$class | tail -n +2|grep -m 1 -B 10000 '^%'|head -n -1`
136 grep -A 10000 '^% includes' $templatedir/gobject | tail -n +2|grep -m 1 -B 10000 '^%'|head -n -1
137 grep -A 10000 '^% includes' $templatedir/$class | tail -n +2|grep -m 1 -B 10000 '^%'|head -n -1
149 grep -A 10000 '^% prototypes' $templatedir/gobject | tail -n +2|grep -m 1 -B 10000 '^%'|head -n -1
150 grep -A 10000 '^% prototypes' $templatedir/$class | tail -n +2|grep -m 1 -B 10000 '^%'|head -n -1
153 grep -A 10000 '^% prototypes' $templatedir/$each | tail -n +2|grep -m 1 -B 10000 '^%'|head -n -1
169 grep -A 10000 '^% pad-template' $templatedir/$each | tail -n +2|grep -m 1 -B 10000 '^%'|head -n -1
[all …]
/third_party/node/test/parallel/
Dtest-child-process-double-pipe.js34 // $ echo "hello\nnode\nand\nworld" | grep o | sed s/o/a/
36 let grep, sed, echo; variable
39 grep = spawn('grep', ['--binary', 'o']);
45 grep = spawn('grep', ['o']);
50 // If the spawn function leaks file descriptors to subprocesses, grep and sed
59 // pipe echo | grep
61 debug(`grep stdin write ${data.length}`);
62 if (!grep.stdin.write(data)) {
69 grep.stdin.on('drain', (data) => {
73 // Propagate end from echo to grep
[all …]
/third_party/boost/tools/boost_install/test/iostreams/bzip2-1.0.6/
Dbzgrep6 ## zgrep -- a wrapper around a grep program that decompresses files as needed
13 *egrep) grep=${EGREP-egrep} ;;
14 *fgrep) grep=${FGREP-fgrep} ;;
15 *) grep=${GREP-grep} ;;
21 if test "$grep" = grep; then # grep is buggy with -e on SVR4
22 grep=egrep
36 echo "grep through bzip2 files"
52 bzip2 -cdfq | $grep $opt "$pat"
60 bzip2 -cdfq "$i" | $grep $opt "$pat" 2>&1 > /dev/null && echo $i
63 bzip2 -cdfq "$i" | $grep $opt "$pat"
[all …]
Dbzgrep.124 .I grep
26 .I grep.
28 if necessary and fed to grep.
30 .I grep.
43 .I grep.
44 If the GREP environment variable is set,
47 .I grep
50 for sh: GREP=fgrep bzgrep string files
51 for csh: (setenv GREP fgrep; bzgrep string files)
56 grep(1), egrep(1), fgrep(1), bzdiff(1), bzmore(1), bzless(1), bzip2(1)
/third_party/boost/tools/boost_install/test/iostreams/bzip2-1.0.8/
Dbzgrep6 ## zgrep -- a wrapper around a grep program that decompresses files as needed
13 *egrep) grep=${EGREP-egrep} ;;
14 *fgrep) grep=${FGREP-fgrep} ;;
15 *) grep=${GREP-grep} ;;
21 if test "$grep" = grep; then # grep is buggy with -e on SVR4
22 grep=egrep
36 echo "grep through bzip2 files"
52 bzip2 -cdfq | $grep $opt "$pat"
60 bzip2 -cdfq "$i" | $grep $opt "$pat" 2>&1 > /dev/null && echo $i
63 bzip2 -cdfq "$i" | $grep $opt "$pat"
[all …]
Dbzgrep.124 .I grep
26 .I grep.
28 if necessary and fed to grep.
30 .I grep.
43 .I grep.
44 If the GREP environment variable is set,
47 .I grep
50 for sh: GREP=fgrep bzgrep string files
51 for csh: (setenv GREP fgrep; bzgrep string files)
56 grep(1), egrep(1), fgrep(1), bzdiff(1), bzmore(1), bzless(1), bzip2(1)
/third_party/bzip2/
Dbzgrep6 ## zgrep -- a wrapper around a grep program that decompresses files as needed
13 *egrep) grep=${EGREP-egrep} ;;
14 *fgrep) grep=${FGREP-fgrep} ;;
15 *) grep=${GREP-grep} ;;
21 if test "$grep" = grep; then # grep is buggy with -e on SVR4
22 grep=egrep
36 echo "grep through bzip2 files"
52 bzip2 -cdfq | $grep $opt "$pat"
60 bzip2 -cdfq "$i" | $grep $opt "$pat" 2>&1 > /dev/null && echo $i
63 bzip2 -cdfq "$i" | $grep $opt "$pat"
[all …]
Dbzgrep.124 .I grep
26 .I grep.
28 if necessary and fed to grep.
30 .I grep.
43 .I grep.
44 If the GREP environment variable is set,
47 .I grep
50 for sh: GREP=fgrep bzgrep string files
51 for csh: (setenv GREP fgrep; bzgrep string files)
56 grep(1), egrep(1), fgrep(1), bzdiff(1), bzmore(1), bzless(1), bzip2(1)
/third_party/boost/libs/iostreams/test/
Dgrep_test.cpp26 #include <boost/iostreams/filter/grep.hpp>
202 void test_filter( grep_filter grep,
215 grep_filter grep(match_us_courthouse); in grep_filter_test() local
216 test_filter(grep, addresses, us_courthouse); in grep_filter_test()
220 grep_filter grep(match_us_courthouse, match_default, grep::invert); in grep_filter_test() local
221 test_filter(grep, addresses, us_courthouse_inv); in grep_filter_test()
225 grep_filter grep(match_state_and_zip); in grep_filter_test() local
226 test_filter(grep, addresses, state_and_zip); in grep_filter_test()
230 grep_filter grep(match_state_and_zip, match_default, grep::invert); in grep_filter_test() local
231 test_filter(grep, addresses, state_and_zip_inv); in grep_filter_test()
[all …]
/third_party/musl/ndk-test/script/
Druntest-sanitize.sh29 grep -nr 'SUMMARY: ' tmp | grep "leaked in"
31 grep -nr 'SUMMARY: ' tmp | grep $case
59 grep -nr 'Scudo ERROR: ' tmp >/dev/null
65 grep -nr 'Scudo ERROR: ' tmp >/dev/null
72 grep -nr "ERROR: invalid chunk state" tmp >/dev/null
75 grep -nr "ERROR: invalid chunk state" tmp >/dev/null
78 grep -nr "ERROR: invalid chunk state" tmp >/dev/null
95 grep -nr 'Scudo ERROR: ' tmp >/dev/null
110 grep -nr 'Scudo ERROR: ' tmp >/dev/null
115 grep -nr 'Scudo ERROR: ' tmp >/dev/null
[all …]
/third_party/musl/ndk-test/sanitize/
Druntest.sh30 grep -nr 'SUMMARY: ' tmp | grep "leaked in"
32 grep -nr 'SUMMARY: ' tmp | grep $case
60 grep -nr 'Scudo ERROR: ' tmp >/dev/null
66 grep -nr 'Scudo ERROR: ' tmp >/dev/null
73 grep -nr "ERROR: invalid chunk state" tmp >/dev/null
76 grep -nr "ERROR: invalid chunk state" tmp >/dev/null
79 grep -nr "ERROR: invalid chunk state" tmp >/dev/null
96 grep -nr 'Scudo ERROR: ' tmp >/dev/null
111 grep -nr 'Scudo ERROR: ' tmp >/dev/null
116 grep -nr 'Scudo ERROR: ' tmp >/dev/null
[all …]
/third_party/grpc/test/core/iomgr/ios/CFStreamTests/
Dbuild_and_run_tests.sh37 | grep -E -v "$XCODEBUILD_FILTER" \
38 | grep -E -v '^$' \
39 | grep -E -v "(GPBDictionary|GPBArray)" -
48 | grep -E -v "$XCODEBUILD_FILTER" \
49 | grep -E -v '^$' \
50 | grep -E -v "(GPBDictionary|GPBArray)" -
59 | grep -E -v "$XCODEBUILD_FILTER" \
60 | grep -E -v '^$' \
61 | grep -E -v "(GPBDictionary|GPBArray)" -
70 | grep -E -v "$XCODEBUILD_FILTER" \
[all …]
/third_party/e2fsprogs/tests/u_revert_upgrade_to_64bitmcsum/
Dscript36 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
37 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
48 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
49 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
60 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
61 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -lt 1 ] || [ "$(echo "${features}" | grep 64…
72 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
73 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -lt 1 ] || [ "$(echo "${features}" | grep 64…
84 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
85 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -lt 1 ] || [ "$(echo "${features}" | grep 64…
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dcheck-includes.sh17 grep '#.*\<include\>' "$x" /dev/null | head -n 1
19 grep -v '"hb-common[.]h"' |
20 grep -v '"hb[.]h"' |
21 grep -v 'hb-common[.]h:' |
22 grep -v 'hb[.]h:' |
23 grep . >&2 && stat=1
30 grep '#.*\<include\>' "$x" /dev/null | head -n 1
32 grep -v '"hb-.*[.]hh"' |
33 grep -v 'hb[.]hh' |
34 grep . >&2 && stat=1
[all …]
/third_party/e2fsprogs/tests/u_onefile_bad/
Dscript36 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
37 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
48 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
49 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
63 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
64 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
75 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
76 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
87 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
88 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
[all …]
/third_party/libwebsockets/scripts/
Dautobahn-test-server.sh64 R=`cat /tmp/ji | grep -v '"behavior": "OK"' | grep -v '"behavior": "NON-STRICT"' | grep -v '"behavi…
71 …cat /tmp/ji | grep -v '"behavior": "OK"' | grep -v '"behavior": "NON-STRICT"' | grep -v '"behavior…
78 R=`cat /tmp/jis | grep -v '"behavior": "OK"' | grep -v '"behavior": "NON-STRICT"' | grep -v '"behav…
86 …cat /tmp/jis | grep -v '"behavior": "OK"' | grep -v '"behavior": "NON-STRICT"' | grep -v '"behavio…
/third_party/ltp/testcases/network/rpc/basic_tests/rpcinfo/
Drpcinfo01.sh17 rpcinfo -p $(tst_ipaddr) | grep tcp | sed -n 2p > rpc_out
18 rpcinfo -p $(tst_ipaddr) | grep udp | sed -n 2p >> rpc_out
20 wc -l rpc_out | grep -q "2" || \
24 TPNUM=$(grep tcp rpc_out | awk '{print $1}')
25 TVNUM=$(grep tcp rpc_out | awk '{print $2}')
26 TCPNAME=$(grep tcp rpc_out | awk '{print $5}')
27 UPNUM=$(grep udp rpc_out | awk '{print $1}')
28 UVNUM=$(grep udp rpc_out | awk '{print $2}')
29 UDPNAME=$(grep udp rpc_out | awk '{print $5}')
36 EXPECT_RHOST_PASS rpcinfo -p $thost | grep -q portmapper
/third_party/e2fsprogs/tests/u_revert_64bitmcsum_onefile/
Dscript36 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
37 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
48 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
49 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
60 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
61 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -lt 1 ] || [ "$(echo "${features}" | grep 64…
72 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
73 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -lt 1 ] || [ "$(echo "${features}" | grep 64…
84 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
85 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
[all …]
/third_party/ltp/testcases/kernel/syscalls/syslog/
Dsyslog0776 emerg_old=`grep -c "syslogtst: emergency log" /var/log/messages`
77 alert_old=`grep -c "syslogtst: alert log" /var/log/messages`
78 crit_old=`grep -c "syslogtst: critical log" /var/log/messages`
79 err_old=`grep -c "syslogtst: error log" /var/log/messages`
80 warning_old=`grep -c "syslogtst: warning log" /var/log/messages`
81 notice_old=`grep -c "syslogtst: notice log" /var/log/messages`
82 info_old=`grep -c "syslogtst: info log" /var/log/messages`
83 debug_old=`grep -c "syslogtst: debug log" /var/log/messages`
102 emerg_new=`grep -c "syslogtst: emergency log" /var/log/messages`
103 alert_new=`grep -c "syslogtst: alert log" /var/log/messages`
[all …]

12345678910>>...63