Files
bash/tests/type3.sub
T
2011-12-12 21:56:08 -05:00

17 lines
153 B
Plaintext

foo() {
rm -f a b c
for f in a b c; do
cat <<-EOF >> ${f}
file
EOF
done
grep . a b c
}
type foo
eval "$(type foo | sed 1d)"
foo
rm -f a b c