]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/type3.sub
Bash-4.4 patch 19
[thirdparty/bash.git] / tests / type3.sub
CommitLineData
495aee44
CR
1cd ${TMPDIR:-/tmp}
2
3foo() {
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
13type foo
14
15eval "$(type foo | sed 1d)"
16foo
17
18rm -f a b c