Home
last modified time | relevance | path

Searched refs:echo (Results 1 – 25 of 713) sorted by relevance

12345678910>>...29

/freebsd-14.2/contrib/bmake/unit-tests/
H A Dsh-flags.exp3 echo running
10 echo running; false
19 echo running
131 echo running
147 echo running
259 echo running
262 echo running
271 echo running
275 echo running
289 echo running
[all …]
H A Dopt-jobs-no-action.exp4 echo "false regular"
14 echo run despite the -n option
23 echo "echo running"
25 { echo running
30 echo running; false
33 echo running
37 echo running; false
43 { echo running
48 echo running; false
52 echo running
[all …]
/freebsd-14.2/bin/sh/tests/builtins/
H A Dread1.03 echo "1 2 3" | { read a; echo "x${a}x"; }
4 echo "1 2 3" | { read a b; echo "x${a}x${b}x"; }
5 echo "1 2 3" | { read a b c; echo "x${a}x${b}x${c}x"; }
6 echo "1 2 3" | { read a b c d; echo "x${a}x${b}x${c}x${d}x"; }
8 echo " 1 2 3 " | { read a b c; echo "x${a}x${b}x${c}x"; }
9 echo " 1 2 3 " | { unset IFS; read a b c; echo "x${a}x${b}x${c}x"; }
11 echo " 1 2 3 " | { IFS= read a b; echo "x${a}x${b}x"; }
13 echo " 1,2 3 " | { IFS=' ,' read a b c; echo "x${a}x${b}x${c}x"; }
14 echo ", 2 ,3" | { IFS=' ,' read a b c; echo "x${a}x${b}x${c}x"; }
15 echo " 1 ,,3" | { IFS=' ,' read a b c; echo "x${a}x${b}x${c}x"; }
[all …]
H A Dlineno.01 echo $LINENO
2 echo $LINENO
5 echo $LINENO
6 echo $LINENO
11 echo ${LINENO:-foo}
12 echo ${LINENO=foo}
13 echo ${LINENO:+foo}
14 echo ${LINENO+foo}
15 echo ${#LINENO}
H A Dcase8.04 *) echo Failed at $LINENO ;;
8 [[:alpha:][:digit:]]) echo Failed at $LINENO ;;
10 *) echo Failed at $LINENO ;;
14 *[[:lower:]]*) echo Failed at $LINENO ;;
16 *) echo Failed at $LINENO ;;
20 [![:print:]]) echo Failed at $LINENO ;;
22 *) echo Failed at $LINENO ;;
27 [[:print:]]) echo Failed at $LINENO ;;
30 *) echo Failed at $LINENO ;;
/freebsd-14.2/contrib/libcbor/doc/
H A Dmake.bat52 echo.
57 echo.
66 echo.
74 echo.
82 echo.
90 echo.
98 echo.
106 echo.
115 echo.
127 echo.
[all …]
/freebsd-14.2/contrib/llvm-project/lld/docs/
H A Dmake.bat50 echo.
58 echo.
66 echo.
74 echo.
82 echo.
90 echo.
99 echo.
111 echo.
119 echo.
127 echo.
[all …]
/freebsd-14.2/contrib/one-true-awk/testdir/
H A DT.argv5 echo >foo1
6 echo >foo2
16 echo * >foo2
41 echo "5
49 echo '1
52 echo 'foo1
58 echo '1
67 echo '1
76 echo '1
88 echo '1
[all …]
H A DT.gawk7 ./echo '1
20 ./echo '1 2 3
23 ./echo '3
33 ./echo 'x\y
35 ./echo 'x\y
47 ./echo 'x\y
50 ./echo ' x\y
69 ./echo 'xax
96 ./echo 'xax
216 ./echo '4
[all …]
H A DT.main1 echo T.main: misc tests of arguments in main
11 echo hello | $awk -d '{print}' >foo1
14 echo 'a::b::c' >foo
16 echo '3' >foo2
17 diff foo1 foo2 || echo 'bad: awk -F::'
19 echo 'a::b::c' >foo
21 echo '3' >foo2
24 echo 'a b c' >foo
26 echo '3' >foo2
29 echo 'atabbtabc' >foo
[all …]
H A DT.func1 echo T.func: test user-defined functions
5 echo '10 2
20 echo '1
27 echo 'data: data' >foo1
41 echo x >foo2
58 echo "foo
145 diff foo1 foo2 || echo 'BAD: T.func (fib)'
158 echo 'eqn
172 echo 1 >foo1
177 echo 1 >foo1
[all …]
H A DT.getline1 echo T.getline: test getline function
13 cmp -s foo1 foo || echo 'BAD: T.getline (bare getline)'
23 cmp -s foo1 foo || echo 'BAD: T.getline (getline xxx)'
32 cmp -s /etc/passwd foo || echo 'BAD: T.getline (getline <file)'
41 cmp -s /etc/passwd foo || echo 'BAD: T.getline (getline <"-")'
80 echo '-1' >foo1
81 cmp -s foo foo1 || echo 'BAD: T.getline (non-existent file)'
83 echo 'false false equal' >foo1
85 "echo 0" | getline
95 echo 'L1
[all …]
H A DT.builtin1 echo T.builtin: test miscellaneous builtin functions
6 echo 2 >foo2
14 echo '3.14159 0.000 0.000 3.14159 10.000' >foo2
15 diff foo1 foo2 || echo 'BAD: T.builtin (sin/cos)'
25 diff foo1 foo2 || echo 'BAD: T.builtin (rand)'
27 echo 'hello, WORLD!' |
34 (export LANG=de_DE.UTF-8 && echo 'Dürst' |
36 echo 'dürst|DÜRST|Dürst' >foo2
39 echo "0.01" >foo2
68 echo 'a
[all …]
H A DT.overflow1 echo T.overflow: test some overflow conditions
11 cmp -s foo1 foo2 || echo 'BAD: T.overflow record 1'
13 echo 'abcdefghijklmnopqsrtuvwxyz' >foo1
14 echo hello | $awk '
19 cmp -s foo1 foo2 || echo 'BAD: T.overflow abcdef'
42 echo '500
44 cmp -s foo1 foo2 || echo 'BAD: T.overflow -mr -mf NF'
55 echo 4000004 >foo1
66 echo 0 >foo1
78 cmp -s foo1 foo2 || echo 'BAD: T.overflow big array'
[all …]
H A DT.close1 echo T.close: test close built-in
7 diff /etc/passwd foo || echo 'BAD: T.close (1)'
12 diff foo1 foo2 || echo 'BAD: T.close (2)'
14 echo 0 >foo1
18 diff foo1 foo2 || echo 'BAD: T.close (3)'
20 echo -1 >foo1
24 diff foo1 foo2 || echo 'BAD: T.close (4)'
26 echo 0 >foo1
30 diff foo1 foo2 || echo 'BAD: T.close (5)'
32 echo 0 >foo1
[all …]
H A DT.latin11 echo T.latin1: tests of 8-bit input
9 diff latin1 foo1 || echo 'BAD: T.latin1 1'
13 diff foo0 foo1 || echo 'BAD: T.latin1 3'
17 diff foo0 foo1 || echo 'BAD: T.latin1 4'
19 echo '/�/' >foo1
22 diff foo1 foo2 || echo 'BAD: T.latin1 5'
25 echo /[��]/ >foo1
27 diff foo1 foo2 || echo 'BAD: T.latin1 6'
30 echo 'This is a line.
34 echo 'Patterns like /[��]/ do not work yet. Example, run awk /[��]/
[all …]
H A Dxc3 echo $i >/dev/tty
4 echo $i '<<<'
6 echo testdir/$i:
10 make drek || ( echo $i ' ' bad compile; echo $i ' ' bad compile >/dev/tty; continue )
14 cmp foo1 foo2 || ( echo $i ' ' bad; echo $i ' ' bad >/dev/tty; diff foo1 foo2 )
15 echo '>>>' $i
16 echo
/freebsd-14.2/bin/sh/tests/expansion/
H A Dset-u1.02 ${SH} -uc 'unset foo; echo $foo' 2>/dev/null && exit 1
3 ${SH} -uc 'foo=; echo $foo' >/dev/null || exit 1
4 ${SH} -uc 'foo=1; echo $foo' >/dev/null || exit 1
6 ${SH} -uc 'unset foo; echo ${foo-}' >/dev/null || exit 1
11 ${SH} -uc 'foo=; echo ${#foo}' >/dev/null || exit 1
21 ${SH} -uc 'echo $!' 2>/dev/null && exit 1
22 ${SH} -uc ':& echo $!' >/dev/null || exit 1
23 ${SH} -uc 'echo $#' >/dev/null || exit 1
24 ${SH} -uc 'echo $1' 2>/dev/null && exit 1
25 ${SH} -uc 'echo $1' ${SH} x >/dev/null || exit 1
[all …]
H A Dcmdsubst2.06 echo "Failed: $*"
11 check '`echo /et[c]/` = "/etc/"'
13 check '"`echo /et[c]/`" = "/etc/"'
19 check '`echo $$` = $$'
20 check '"`echo $$`" = $$'
21 check '`echo \$\$` = $$'
22 check '"`echo \$\$`" = $$'
34 check '`:; echo $$` = $$'
35 check '"`:; echo $$`" = $$'
36 check '`:; echo \$\$` = $$'
[all …]
H A Dtrim7.03 [ "${##1}" = 3 ] || echo '${##1} wrong'
4 [ "${###1}" = 3 ] || echo '${###1} wrong'
5 [ "${###}" = 13 ] || echo '${###} wrong'
6 [ "${#%3}" = 1 ] || echo '${#%3} wrong'
7 [ "${#%%3}" = 1 ] || echo '${#%%3} wrong'
8 [ "${#%%}" = 13 ] || echo '${#%%} wrong'
10 [ "${##0}" = "" ] || echo '${##0} wrong'
11 [ "${###0}" = "" ] || echo '${###0} wrong'
12 [ "${###}" = 0 ] || echo '${###} wrong'
13 [ "${#%0}" = "" ] || echo '${#%0} wrong'
[all …]
H A Dquestion1.07 (echo ${x?abcdefg}) 2>&1 | grep -q abcdefg || exit 1
9 ${SH} -c 'foo=; echo ${foo:?}' 2>/dev/null && exit 1
10 ${SH} -c 'foo=; echo ${foo?}' >/dev/null || exit 1
11 ${SH} -c 'foo=1; echo ${foo:?}' >/dev/null || exit 1
12 ${SH} -c 'echo ${!?}' 2>/dev/null && exit 1
13 ${SH} -c ':& echo ${!?}' >/dev/null || exit 1
14 ${SH} -c 'echo ${#?}' >/dev/null || exit 1
15 ${SH} -c 'echo ${*?}' 2>/dev/null && exit 1
16 ${SH} -c 'echo ${*?}' ${SH} x >/dev/null || exit 1
17 ${SH} -c 'echo ${1?}' 2>/dev/null && exit 1
[all …]
/freebsd-14.2/contrib/unbound/contrib/
H A Dunbound_cache.cmd1 @echo off
44 echo ok
59 echo ok
68 echo Saving cache to %arg2%
71 echo ok
76 echo Loading cache from %arg2%
83 echo Saving cache to %arg2%
86 echo ok
87 echo Loading cache from %arg2%
94 echo.
[all …]
/freebsd-14.2/tools/tools/nanobsd/rescue/
H A Dcommon41 echo $1 | tr "[:upper:]" "[:lower:]"
45 echo $1 | tr "[:lower:]" "[:upper:]"
62 # echo "-S115200 -h" > boot.config
74 echo "hostname=\"rescue\"" > etc/rc.conf
75 echo "font8x14=\"iso15-8x14\"" >> etc/rc.conf
76 echo "font8x16=\"iso15-8x16\"" >> etc/rc.conf
77 echo "font8x8=\"iso15-8x8\"" >> etc/rc.conf
78 echo "keymap=\"german.iso\"" >> etc/rc.conf
79 echo "#ifconfig_fxp0=\"AUTO\"" >> etc/rc.conf
80 echo "#sshd_enable=\"YES\"" >> etc/rc.conf
[all …]
/freebsd-14.2/bin/sh/tests/parameters/
H A Dpositional1.03 [ "$1" = a ] || echo "error at line $LINENO"
4 [ "${1}" = a ] || echo "error at line $LINENO"
5 [ "${1-foo}" = a ] || echo "error at line $LINENO"
6 [ "${1+foo}" = foo ] || echo "error at line $LINENO"
7 [ "$1+foo" = a+foo ] || echo "error at line $LINENO"
8 [ "$10" = a0 ] || echo "error at line $LINENO"
9 [ "$100" = a00 ] || echo "error at line $LINENO"
10 [ "${10}" = j ] || echo "error at line $LINENO"
11 [ "${10-foo}" = j ] || echo "error at line $LINENO"
12 [ "${100-foo}" = foo ] || echo "error at line $LINENO"
/freebsd-14.2/bin/sh/tests/parser/
H A Dheredoc4.06 echo "Failed: $*"
12 cat <<EOF && echo `echo bar`
20 cat <<EOF && echo $(echo bar)
28 echo `echo bar` && cat <<EOF
36 echo $(echo bar) && cat <<EOF

12345678910>>...29