Description of problem: 'trap exit 1 ERR' fails with ksh: trap: bad signal ERR Version-Release number of selected component (if applicable): pdksh-5.2.14-30.3 Additional info: the sort parameters in siglist.sh work only for some of the signals, result is that some signals are not sorted in the output. sed -n 's/{ QwErTy/{/p' < $out | awk '{print NR, $0}' | sort -b -k3.3n -k 1n ... needs to be replaced with sed -n 's/{ QwErTy/{/p' < $out | awk '{print NR, $0}' | sort -k3n -k 1n ...
I was not able to reproduce this problem in pdksh-5.2.14-30.3 on RHEL 4 Update 3, but I do encounter this problem in pdksh-5.2.14-21.5 on RHEL 3 Update 8. pdksh-5.2.14-21 worked fine but then when Update 8 was applied that include pdksh-5.2.14-21.5 I get this error. When will there be an update to fix pdksh-5.2.14-21.5 on RHEL 3?
re comment #4: You need to file a new bugzilla against RHEL-3. In the meantime try this unofficial, unsupported package: http://people.redhat.com/karsten/pdksh-5.2.14-21.7.i386.rpm
this bug depends on the build environment, if systemv-style or gnu-style parameters are used none of the examined packages for pdksh-5.2.14-30.3 suffers from it, so closing