mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-06 02:02:42 +02:00
Bash-4.2 distribution sources and documentation
This commit is contained in:
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user