Searched refs:in (Results 1 – 25 of 328) sorted by relevance
12345678910>>...14
4 case '!' in [\!] ) echo ok;; *) echo 'WRONG!';; esac5 case '"' in [\"] ) echo ok;; *) echo 'WRONG"';; esac6 case '#' in [\#] ) echo ok;; *) echo 'WRONG#';; esac7 case '$' in [\$] ) echo ok;; *) echo 'WRONG$';; esac8 case '%' in [\%] ) echo ok;; *) echo 'WRONG%';; esac9 case '&' in [\&] ) echo ok;; *) echo 'WRONG&';; esac10 case "'" in [\'] ) echo ok;; *) echo "WRONG'";; esac11 case '(' in [\(] ) echo ok;; *) echo 'WRONG(';; esac12 case ')' in [\)] ) echo ok;; *) echo 'WRONG)';; esac13 case '*' in [\*] ) echo ok;; *) echo 'WRONG*';; esac[all …]
2 # This caught some bugs in the past.4 case z in8 case \z in12 case \z in16 case z in20 case \\z in26 case "\z" in30 case "\\z" in34 case "\\\z" in
2 case π in7 case ρ in12 case ς in17 case "π" in21 case "ρ" in25 case "ς" in
5 echo 'Testing: in x y z'6 for a in x y z; do echo ".$a."; done8 echo 'Testing: in u $empty v'10 for a in u $empty v; do echo ".$a."; done12 echo 'Testing: in u " $empty" v'14 for a in u " $empty" v; do echo ".$a."; done16 echo 'Testing: in u $empty $empty$a v'18 for a in u $empty $empty$a v; do echo ".$a."; done20 echo 'Testing: in $a_b'22 for a in $a_b; do echo ".$a."; done[all …]
1 Testing: in x y z5 Testing: in u $empty v8 Testing: in u " $empty" v12 Testing: in u $empty $empty$a v16 Testing: in $a_b19 Testing: in $*23 Testing: in $@27 Testing: in -$*-31 Testing: in -$@-35 Testing: in $a_b -$a_b-
3 echo 'Testing: in ""'4 for a in ""; do echo ".$a."; done6 echo 'Testing: in '"''"7 for a in ''; do echo ".$a."; done9 echo 'Testing: in $empty'10 for a in $empty; do echo ".$a."; done12 echo 'Testing: in $empty""'13 for a in $empty""; do echo ".$a."; done15 echo 'Testing: in $empty'"''"16 for a in $empty''; do echo ".$a."; done[all …]
1 Testing: in ""3 Testing: in ''5 Testing: in $empty6 Testing: in $empty""8 Testing: in $empty''10 Testing: in "$empty"
11 for a in ! a b c; do echo $a; done12 for a in ! a b c; do ! printf "$a "; echo $?; done14 for a in ! a b c; do ! "$PRINTF" "$a "; echo $?; done15 for a in ! a b c; do ! printf "$a " | false; echo $?; done16 for a in ! a b c; do ! printf "$a " | true; echo $?; done17 for a in ! a b c; do ! { printf "$a " | false; }; echo $?; done18 for a in ! a b c; do ! { printf "$a " | true; }; echo $?; done
5 for a in "$*"; do echo ".$a."; done6 for a in "$@"; do echo ".$a."; done7 for a in "-$*-"; do echo ".$a."; done8 for a in "-$@-"; do echo ".$a."; done
1 case w in a) echo SKIP;; w) echo OK_1;; w) echo WRONG;; esac3 case w in12 case $t in a) echo SKIP;; w) echo OK_21;; w) echo WRONG;; esac;13 case "$t" in a) echo SKIP;; w) echo OK_22;; w) echo WRONG;; esac;14 case w in a) echo SKIP;; $t) echo OK_23;; "$t") echo WRONG;; esac;16 case '' in a) echo SKIP;; w) echo WRONG;; *) echo OK_31;; esac;17 case '' in a) echo SKIP;; '') echo OK_32;; *) echo WRONG;; esac;19 case `echo w` in a) echo SKIP;; w) echo OK_41;; w) echo WRONG;; esac;20 case "`echo w`" in a) echo SKIP;; w) echo OK_42;; w) echo WRONG;; esac;21 case `echo w w` in a) echo SKIP;; w) echo WRONG;; 'w w') echo OK_43;; esac;[all …]
26 for ifs in ': ' ' :'33 do case $# in39 case $g in40 "$s") case $ksh_arith in44 case $S in48 *) case $ksh_arith in55 "$S") case $ksh_arith in60 *) case $ksh_arith in64 case $s in72 case $S in[all …]
97 int in = 0; in dmesg_main() local101 if (last == '\n' && buf[in] == '<') { in dmesg_main()102 while (buf[in++] != '>' && in < len) in dmesg_main()105 last = buf[in++]; in dmesg_main()108 if (in >= len) in dmesg_main()
1 Unquoted non-matching glob in var:'test*.TMP/\name_doesnt_exist'2 Unquoted matching glob in var: 'testdir.TMP/name'3 Quoted non-matching glob in var: 'test*.TMP/\name_doesnt_exist'4 Quoted matching glob in var: 'test*.TMP/\name'