repo.or.cz
/
bash.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added gitignore entries needed to ignore derived objects generated from full build...
[bash.git]
/
tests
/
type3.sub
blob
a90afef0ce3ac45406516ef7004c3d57ce37968d
1
cd ${TMPDIR:-/tmp}
2
3
foo() {
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
13
type foo
14
15
eval "$(type foo | sed 1d)"
16
foo
17
18
rm -f a b c