]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/type3.sub
Bash-4.3 patch 7
[thirdparty/bash.git] / tests / type3.sub
1 cd ${TMPDIR:-/tmp}
2
3 foo() {
4 rm -f a b c
5 for f in a b c; do
6 cat <<-EOF >> ${f}
7 file
8 EOF
9 done
10 grep . a b c
11 }
12
13 type foo
14
15 eval "$(type foo | sed 1d)"
16 foo
17
18 rm -f a b c