Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 257) sorted by relevance

1234567891011

/busybox-1.35.0/shell/ash_test/ash-vars/
Dparam_expand_bash_substring.tests31 unset f; echo "f =|$f|"
32 unset f; echo "f:1 =|${f:1}|"
33 unset f; echo "f:1:2=|${f:1:2}|"
34 unset f; echo "f::2 =|${f::2}|"
35 unset f; echo "f:1: =|${f:1:}|"
36 unset f; echo "f:: =|${f::}|"
38 f=; echo "f =|$f|"
39 f=; echo "f:1 =|${f:1}|"
40 f=; echo "f:1:2=|${f:1:2}|"
41 f=; echo "f::2 =|${f::2}|"
[all …]
Dparam_expand_bash_substring.right19 f =||
20 f:1 =||
21 f:1:2=||
22 f::2 =||
23 f:1: =||
24 f:: =||
25 f =||
26 f:1 =||
27 f:1:2=||
28 f::2 =||
[all …]
Dparam_expand_assign.tests23 unset f; echo _$f
24 unset f; echo _${f=}
25 unset f; echo _${f:=}
26 unset f; echo _${f=word}
27 unset f; echo _${f:=word}
29 f=; echo _$f
30 f=; echo _${f=}
31 f=; echo _${f:=}
32 f=; echo _${f=word}
33 f=; echo _${f:=word}
[all …]
Dunset.tests14 f=f g=g
15 echo $? $f $g
16 unset f
17 echo $? $f $g
19 echo $? $f $g
22 f=f g=g
23 echo $? $f $g
24 unset f g
25 echo $? $f $g
26 f=f g=g
[all …]
Dparam_expand_default.tests15 unset f
16 echo _$f _${f-} _${f:-} _${f-word} _${f:-word}
18 f=
19 echo _$f _${f-} _${f:-} _${f-word} _${f:-word}
21 f=fff
22 echo _$f _${f-} _${f:-} _${f-word} _${f:-word}
Dparam_expand_indicate_error.tests37 "$THIS_SH" -c 'unset f; echo _$f' SHELL
38 "$THIS_SH" -c 'unset f; echo _${f?}' SHELL
39 "$THIS_SH" -c 'unset f; echo _${f:?}' SHELL
40 "$THIS_SH" -c 'unset f; echo _${f?message3}' SHELL
41 "$THIS_SH" -c 'unset f; echo _${f:?message3}' SHELL
42 "$THIS_SH" -c 'unset f; echo _${f?$msg_unset}' SHELL
43 "$THIS_SH" -c 'unset f; echo _${f:?$msg_null_or_unset}' SHELL
46 "$THIS_SH" -c 'f=; echo _$f' SHELL
47 "$THIS_SH" -c 'f=; echo _${f?}' SHELL
48 "$THIS_SH" -c 'f=; echo _${f:?}' SHELL
[all …]
/busybox-1.35.0/shell/hush_test/hush-vars/
Dparam_expand_bash_substring.tests31 unset f; echo "f =|$f|"
32 unset f; echo "f:1 =|${f:1}|"
33 unset f; echo "f:1:2=|${f:1:2}|"
34 unset f; echo "f::2 =|${f::2}|"
35 unset f; echo "f:1: =|${f:1:}|"
36 unset f; echo "f:: =|${f::}|"
38 f=; echo "f =|$f|"
39 f=; echo "f:1 =|${f:1}|"
40 f=; echo "f:1:2=|${f:1:2}|"
41 f=; echo "f::2 =|${f::2}|"
[all …]
Dparam_expand_bash_substring.right19 f =||
20 f:1 =||
21 f:1:2=||
22 f::2 =||
23 f:1: =||
24 f:: =||
25 f =||
26 f:1 =||
27 f:1:2=||
28 f::2 =||
[all …]
Dparam_expand_indicate_error.tests36 "$THIS_SH" -c 'unset f; echo _$f'
37 "$THIS_SH" -c 'unset f; echo _${f?}'
38 "$THIS_SH" -c 'unset f; echo _${f:?}'
39 "$THIS_SH" -c 'unset f; echo _${f?message3}'
40 "$THIS_SH" -c 'unset f; echo _${f:?message3}'
41 "$THIS_SH" -c 'unset f; echo _${f?$msg_unset}'
42 "$THIS_SH" -c 'unset f; echo _${f:?$msg_null_or_unset}'
45 "$THIS_SH" -c 'f=; echo _$f'
46 "$THIS_SH" -c 'f=; echo _${f?}'
47 "$THIS_SH" -c 'f=; echo _${f:?}'
[all …]
Dparam_expand_assign.tests23 unset f; echo _$f
24 unset f; echo _${f=}
25 unset f; echo _${f:=}
26 unset f; echo _${f=word}
27 unset f; echo _${f:=word}
29 f=; echo _$f
30 f=; echo _${f=}
31 f=; echo _${f:=}
32 f=; echo _${f=word}
33 f=; echo _${f:=word}
[all …]
Dunset.tests16 f=f g=g
17 echo $? $f $g
18 unset f
19 echo $? $f $g
21 echo $? $f $g
24 f=f g=g
25 echo $? $f $g
26 unset f g
27 echo $? $f $g
28 f=f g=g
[all …]
Dparam_expand_default.tests15 unset f
16 echo _$f _${f-} _${f:-} _${f-word} _${f:-word}
18 f=
19 echo _$f _${f-} _${f:-} _${f-word} _${f:-word}
21 f=fff
22 echo _$f _${f-} _${f:-} _${f-word} _${f:-word}
/busybox-1.35.0/shell/hush_test/hush-quoting/
Ddollar_altvalue2.tests1 f() { echo start:; for i; do echo "|$i|"; done; echo end; }
5 f ${x:+''}
6 f ${x:+'' }
7 f ${x:+ ''}
8 f ${x:+ '' }
9 f ${x:+'' ''}
13 f ${x:+""}
14 f ${x:+"" }
15 f ${x:+ ""}
16 f ${x:+ "" }
[all …]
Ddollar_repl_bash1.tests1 f() { for i; do echo "|$i|"; done; }
4 f ${v/'x'/"y z"}
5 f ${v/"x"/'y z'}
6 f "${v/'x'/"y z"}"
7 f "${v/"x"/'y z'}"
9 f ${v//'x'/"y z"}
10 f ${v//"x"/'y z'}
11 f "${v//'x'/"y z"}"
12 f "${v//"x"/'y z'}"
/busybox-1.35.0/shell/ash_test/ash-quoting/
Ddollar_altvalue2.tests1 f() { echo start:; for i; do echo "|$i|"; done; echo end; }
5 f ${x:+''}
6 f ${x:+'' }
7 f ${x:+ ''}
8 f ${x:+ '' }
9 f ${x:+'' ''}
13 f ${x:+""}
14 f ${x:+"" }
15 f ${x:+ ""}
16 f ${x:+ "" }
[all …]
Ddollar_repl_bash1.tests1 f() { for i; do echo "|$i|"; done; }
4 f ${v/'x'/"y z"}
5 f ${v/"x"/'y z'}
6 f "${v/'x'/"y z"}"
7 f "${v/"x"/'y z'}"
9 f ${v//'x'/"y z"}
10 f ${v//"x"/'y z'}
11 f "${v//'x'/"y z"}"
12 f "${v//"x"/'y z'}"
/busybox-1.35.0/shell/ash_test/ash-misc/
Dfunc_bash1.tests1 function f() { echo $1; }
2 f 1
4 function f() ( echo $1; )
5 f 2
7 function f() ( echo $1 )
8 f 3
10 function f() for i in 1 2 3; do
13 f
15 function f { echo $1; }
16 f 1
[all …]
Dfunc5.tests1 f() { echo $1; }
2 f 1
4 f() ( echo $1; )
5 f 2
7 f() ( echo $1 )
8 f 3
/busybox-1.35.0/shell/hush_test/hush-heredoc/
Dheredoc3.tests1 f=1
2 cat <<- EOF-f""
3 exit EOF-f
5 echo $f
8 EOF-f
9 EOF-f f
10 EOF-f
11 EOF-f
Dheredoc5.tests1 f=1
2 cat <<- EOF-f
3 exit EOF-f
5 echo $f
8 EOF-f
9 EOF-f f
10 EOF-f
11 EOF-f
Dheredoc3.right1 exit EOF-f
3 echo $f
6 EOF-f
7 EOF-f f
8 EOF-f
/busybox-1.35.0/shell/ash_test/ash-heredoc/
Dheredoc3.tests1 f=1
2 cat <<- EOF-f""
3 exit EOF-f
5 echo $f
8 EOF-f
9 EOF-f f
10 EOF-f
11 EOF-f
Dheredoc5.tests1 f=1
2 cat <<- EOF-f
3 exit EOF-f
5 echo $f
8 EOF-f
9 EOF-f f
10 EOF-f
11 EOF-f
Dheredoc3.right1 exit EOF-f
3 echo $f
6 EOF-f
7 EOF-f f
8 EOF-f
/busybox-1.35.0/shell/hush_test/hush-misc/
Dfunc5.tests1 f() { echo $1; }
2 f 1
4 f() ( echo $1; )
5 f 2
7 f() ( echo $1 )
8 f 3

1234567891011