Bash-4.2 distribution sources and documentation
This commit is contained in:
parent
30d188c293
commit
495aee441b
341 changed files with 108751 additions and 36060 deletions
25
tests/set-x1.sub
Normal file
25
tests/set-x1.sub
Normal file
|
@ -0,0 +1,25 @@
|
|||
: ${TMPDIR:=/var/tmp}
|
||||
TRACEFILE=$TMPDIR/bash-trace-$$
|
||||
trap 'rm -f $TRACEFILE' 0 1 2 3 6 15
|
||||
|
||||
exec 4>$TRACEFILE
|
||||
BASH_XTRACEFD=4
|
||||
|
||||
set -x
|
||||
|
||||
echo 1
|
||||
echo 2
|
||||
echo 3
|
||||
echo 4
|
||||
|
||||
unset BASH_XTRACEFD
|
||||
|
||||
for f in a b c d e; do echo $f ; done
|
||||
|
||||
set +x
|
||||
|
||||
echo TRACEFILE:
|
||||
cat $TRACEFILE
|
||||
echo =====
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue