History file clobbered by multiple simultaneous exits

2013-07-10 Thread geoff
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc -I/home/abuild/rpmbuild/BUILD/bash-4.2 -L/home/abuild/rpmbuild/BUILD/bash-4.2/../readline-6.2 Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -D

Re: Another "set" option?

2013-07-10 Thread Geir Hauge
2013/7/10 Bruce Korb > This seems like a lot of obtuse bother: > > xtrace_setting=$( >re=$'\nxtrace[ \t]+on' >[[ $(set -o) =~ $re ]] && echo ' -x' || echo ' +x') > > if there were only some magic like ${BASH_SETTING_XTRACE} or > xtrace_setting=$(set -q xtrace) or something. Could we get

Another "set" option?

2013-07-10 Thread Bruce Korb
This seems like a lot of obtuse bother: xtrace_setting=$( re=$'\nxtrace[ \t]+on' [[ $(set -o) =~ $re ]] && echo ' -x' || echo ' +x') if there were only some magic like ${BASH_SETTING_XTRACE} or xtrace_setting=$(set -q xtrace) or something. Could we get something fairly straight forward for