blob: a90afef0ce3ac45406516ef7004c3d57ce37968d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
cd ${TMPDIR:-/tmp}
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
|