Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/busybox-1.35.0/shell/ash_test/ash-vars/
Dvar_bash3.tests2 r=${a//b/\041#}
4 echo 2 ${a//b/\041#}
5 echo 3 "${a//b/\041#}"
8 r=${a//b/\\041#}
10 echo 5 ${a//b/\\041#}
11 echo 6 "${a//b/\\041#}"
14 b='\041#'
15 r=${a//b/$b}
17 echo 8 ${a//b/$b}
18 echo 9 "${a//b/$b}"
[all …]
Dvar_in_pipes.tests1 b=1 env | grep ^b=
2 true | b=2 env | grep ^b=
3 a=1 true | b=3 env | grep ^b=
5 (b=4 env) | grep ^b=
6 (true | b=5 env) | grep ^b=
7 (a=1 true | b=6 env) | grep ^b=
Dvar_serial.tests3 b=b
6 b=$a c=$b
9 b=b
11 b=$a c=$b "$THIS_SH" -c 'echo Assignments and a command: c=$c'
13 b=b
15 b=$a c=$b eval 'echo Assignments and a builtin: c=$c'
17 b=b
20 b=$a c=$b f
Dvar_nested1.tests1 f() { a=A; b=B; }
4 b=b
6 echo Expected:AB Actual:$a$b
9 b=b
10 b= f
11 echo Expected:Ab Actual:$a$b
14 b=b
15 a= b= f
16 echo Expected:ab Actual:$a$b
Dvar_unbackslash.tests4 b=-$a-\t-\\-\"-\`-\--\z-\*-\?-
5 echo b1=$b
6 echo "b1=$b"
7 b="-$a-\t-\\-\"-\`-\--\z-\*-\?-"
8 echo b2=$b
9 echo "b2=$b"
10 b='-$a-\t-\\-\"-\`-\--\z-\*-\?-'
11 echo b3=$b
12 echo "b3=$b"
14 c=$b
[all …]
Dvar_expand_on_ifs.tests1 b=' b '
3 echo 1 a $b c
4 echo 2 a +$b c
5 echo 3 a $e$b c
6 echo 4 a "$e"$b c
7 echo 5 a ""$b c
8 echo 6 a $b+ c
9 echo 7 a $b$e c
10 echo 8 a $b"$e" c
11 echo 9 a $b"" c
Dvar_expand_on_ifs.right1 1 a b c
2 2 a + b c
3 3 a b c
4 4 a b c
5 5 a b c
6 6 a b + c
7 7 a b c
8 8 a b c
9 9 a b c
/busybox-1.35.0/shell/hush_test/hush-vars/
Dvar_bash3.tests2 r=${a//b/\041#}
4 echo 2 ${a//b/\041#}
5 echo 3 "${a//b/\041#}"
8 r=${a//b/\\041#}
10 echo 5 ${a//b/\\041#}
11 echo 6 "${a//b/\\041#}"
14 b='\041#'
15 r=${a//b/$b}
17 echo 8 ${a//b/$b}
18 echo 9 "${a//b/$b}"
[all …]
Dvar_in_pipes.tests1 b=1 env | grep ^b=
2 true | b=2 env | grep ^b=
3 a=1 true | b=3 env | grep ^b=
5 (b=4 env) | grep ^b=
6 (true | b=5 env) | grep ^b=
7 (a=1 true | b=6 env) | grep ^b=
Dvar_serial.tests3 b=b
6 b=$a c=$b
9 b=b
11 b=$a c=$b "$THIS_SH" -c 'echo Assignments and a command: c=$c'
13 b=b
15 b=$a c=$b eval 'echo Assignments and a builtin: c=$c'
17 b=b
20 b=$a c=$b f
Dvar_nested1.tests1 f() { a=A; b=B; }
4 b=b
6 echo Expected:AB Actual:$a$b
9 b=b
10 b= f
11 echo Expected:Ab Actual:$a$b
14 b=b
15 a= b= f
16 echo Expected:ab Actual:$a$b
Dvar_unbackslash.tests4 b=-$a-\t-\\-\"-\`-\--\z-\*-\?-
5 echo b1=$b
6 echo "b1=$b"
7 b="-$a-\t-\\-\"-\`-\--\z-\*-\?-"
8 echo b2=$b
9 echo "b2=$b"
10 b='-$a-\t-\\-\"-\`-\--\z-\*-\?-'
11 echo b3=$b
12 echo "b3=$b"
14 c=$b
[all …]
Dvar_expand_on_ifs.tests1 b=' b '
3 echo 1 a $b c
4 echo 2 a +$b c
5 echo 3 a $e$b c
6 echo 4 a "$e"$b c
7 echo 5 a ""$b c
8 echo 6 a $b+ c
9 echo 7 a $b$e c
10 echo 8 a $b"$e" c
11 echo 9 a $b"" c
Dvar_expand_on_ifs.right1 1 a b c
2 2 a + b c
3 3 a b c
4 4 a b c
5 5 a b c
6 6 a b + c
7 7 a b c
8 8 a b c
9 9 a b c
/busybox-1.35.0/shell/hush_test/hush-quoting/
Ddollar_altvalue1.right1 Unquoted b c d
2 |b|
5 Unquoted 'b c' d
6 |b c|
8 Unquoted "b c" d
9 |b c|
11 Quoted b c d
12 |b c d|
13 Quoted 'b c' d
14 |'b c' d|
[all …]
Ddollar_altvalue1.tests4 echo Unquoted b c d
5 f ${x:+b c d}
6 echo Unquoted "'b c' d"
7 f ${x:+'b c' d}
8 echo Unquoted '"b c" d'
9 f ${x:+"b c" d}
11 echo Quoted b c d
12 f "${x:+b c d}"
13 echo Quoted "'b c' d"
14 f "${x:+'b c' d}"
[all …]
/busybox-1.35.0/shell/ash_test/ash-quoting/
Ddollar_altvalue1.right1 Unquoted b c d
2 |b|
5 Unquoted 'b c' d
6 |b c|
8 Unquoted "b c" d
9 |b c|
11 Quoted b c d
12 |b c d|
13 Quoted 'b c' d
14 |'b c' d|
[all …]
Ddollar_altvalue1.tests4 echo Unquoted b c d
5 f ${x:+b c d}
6 echo Unquoted "'b c' d"
7 f ${x:+'b c' d}
8 echo Unquoted '"b c" d'
9 f ${x:+"b c" d}
11 echo Quoted b c d
12 f "${x:+b c d}"
13 echo Quoted "'b c' d"
14 f "${x:+'b c' d}"
[all …]
/busybox-1.35.0/libbb/
Dhash_md5prime.c130 #define FF(a, b, c, d, x, s, ac) { \ argument
131 (a) += F((b), (c), (d)) + (x) + (uint32_t)(ac); \
133 (a) += (b); \
135 #define GG(a, b, c, d, x, s, ac) { \ argument
136 (a) += G((b), (c), (d)) + (x) + (uint32_t)(ac); \
138 (a) += (b); \
140 #define HH(a, b, c, d, x, s, ac) { \ argument
141 (a) += H((b), (c), (d)) + (x) + (uint32_t)(ac); \
143 (a) += (b); \
145 #define II(a, b, c, d, x, s, ac) { \ argument
[all …]
/busybox-1.35.0/shell/hush_test/hush-read/
Dread_ifs.tests1 printf 'a\t\tb\tc\n' | ( IFS=$(printf "\t") read a b c; echo "test 1: .$a. .$b. .$c." )
2 printf 'a\t\tb\tc\n' | ( IFS=$(printf " \t") read a b c; echo "test 2: .$a. .$b. .$c." )
3 printf 'a,,b,c\n' | ( IFS="," read a b c; echo "test 3: .$a. .$b. .$c." )
4 printf 'a,,b,c\n' | ( IFS=" ," read a b c; echo "test 4: .$a. .$b. .$c." )
5 printf 'a ,, c\n' | ( IFS=" ," read a b c; echo "test 5: .$a. .$b. .$c." )
6 printf 'a ,, c d\n' | ( IFS=" ," read a b c d; echo "test 6: .$a. .$b. .$c. .$d." )
7 printf ' a,,b,c,d , ,\n' | ( IFS=" ," read a b c; echo "test 7: .$a. .$b. .$c." )
8 printf '\t,\ta\t,\tb\tc' | ( IFS=$(printf " \t,") read a b c d; echo "test 8: .$a. .$b. .$c. .$…
9 printf '\t\ta\t,\tb\tc' | ( IFS=$(printf " \t,") read a b c d; echo "test 9: .$a. .$b. .$c. .$…
10 printf '\t,\ta\t,,\tb\tc' | ( IFS=$(printf " \t,") read a b c d e; echo "test A: .$a. .$b. .$c. .$…
/busybox-1.35.0/shell/ash_test/ash-read/
Dread_ifs.tests1 printf 'a\t\tb\tc\n' | ( IFS=$(printf "\t") read a b c; echo "test 1: .$a. .$b. .$c." )
2 printf 'a\t\tb\tc\n' | ( IFS=$(printf " \t") read a b c; echo "test 2: .$a. .$b. .$c." )
3 printf 'a,,b,c\n' | ( IFS="," read a b c; echo "test 3: .$a. .$b. .$c." )
4 printf 'a,,b,c\n' | ( IFS=" ," read a b c; echo "test 4: .$a. .$b. .$c." )
5 printf 'a ,, c\n' | ( IFS=" ," read a b c; echo "test 5: .$a. .$b. .$c." )
6 printf 'a ,, c d\n' | ( IFS=" ," read a b c d; echo "test 6: .$a. .$b. .$c. .$d." )
7 printf ' a,,b,c,d , ,\n' | ( IFS=" ," read a b c; echo "test 7: .$a. .$b. .$c." )
8 printf '\t,\ta\t,\tb\tc' | ( IFS=$(printf " \t,") read a b c d; echo "test 8: .$a. .$b. .$c. .$…
9 printf '\t\ta\t,\tb\tc' | ( IFS=$(printf " \t,") read a b c d; echo "test 9: .$a. .$b. .$c. .$…
10 printf '\t,\ta\t,,\tb\tc' | ( IFS=$(printf " \t,") read a b c d e; echo "test A: .$a. .$b. .$c. .$…
/busybox-1.35.0/shell/hush_test/hush-test2/
Dstrops2.tests4 [[ a/b =~ a.b ]]; echo 2:YES:$?
5 [[ a/b =~ /*b ]]; echo 3:YES:$?
7 v='[]b.-]'
8 [[ a/.b] =~ $v ]]; echo 4:YES:$?
10 v=']b.-'
11 [[ a/.b] =~ $v ]]; echo 5:no:$?
12 [[ a/.b] =~ [$v] ]]; echo 6:YES:$?
/busybox-1.35.0/testsuite/
Dmakedevs.device_table.txt15 # /dev/hda b 640 0 0 3 0 0 0 -
16 # /dev/hda b 640 0 0 3 1 1 1 15
24 # b Block special device file
61 /dev/ram b 640 0 0 1 1 0 0 -
62 /dev/ram b 640 0 0 1 0 0 1 4
63 /dev/loop b 640 0 0 7 0 0 1 2
88 /dev/mtdblock b 640 0 0 31 0 0 1 4
102 #/dev/ubda b 640 0 0 98 0 0 0 -
103 #/dev/ubda b 640 0 0 98 1 1 1 15
106 /dev/hda b 640 0 0 3 0 0 0 -
[all …]
/busybox-1.35.0/shell/hush_test/hush-misc/
Dfor_with_bslashes.right2 b\c
3 b\\c
4 b"c
5 b'c
6 b$c
7 b`true`c
8 b#c
/busybox-1.35.0/shell/ash_test/ash-misc/
Dfor_with_bslashes.right2 b\c
3 b\\c
4 b"c
5 b'c
6 b$c
7 b`true`c
8 b#c

12345678910>>...12