mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-21 12:57:58 +02:00
19 lines
173 B
Plaintext
19 lines
173 B
Plaintext
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
|