Hi,
we've found new bug. Some time ago there was bug report that ksh crashes
because of IFS : "Crash: variable IFS not a real local clone within
shell functions" 10/2010. We've found similar issue:
################################################
#!/bin/ksh
function func1 {
print "FUNC1"
typeset IFS
print $(func2)
read foo </dev/null
print END
}
function func2 {
print "func2"
IFS="BAR"
print "end"
}
typeset IFS
func1
func1
################################################
this produces following output:
FUNC1
func2 end
END
FUNC1
and then it crashes.
Michal
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers