Imported from ../bash-2.05b.tar.gz.

This commit is contained in:
Jari Aalto 2002-07-17 14:10:11 +00:00
commit 7117c2d221
362 changed files with 34387 additions and 15063 deletions

View file

@ -12,7 +12,7 @@ trap
func()
{
trap 'echo [$LINENO] funcdebug' DEBUG
trap 'echo ${FUNCNAME:-$0}[$LINENO] funcdebug' DEBUG
echo funcdebug line
}
@ -25,6 +25,16 @@ func
trap
trap 'echo ${FUNCNAME:-$0}[$LINENO] debug' DEBUG
func2()
{
echo func2debug line
}
declare -ft func2
func2
unset -f func2
trap '' DEBUG
trap
@ -74,4 +84,3 @@ trap -p SIGCHLD
trap SIGINT QUIT TERM
trap