https://bugzilla.novell.com/show_bug.cgi?id=340952 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=340952#c6 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #6 from Dr. Werner Fink <werner@novell.com> 2007-12-04 09:06:46 MST --- Just doing this way case "`/bin/ls --color=never -l /proc/$$/exe`" in */bash) is=bash read -t 1 a r </proc/$$/cmdline case "$a" in sh|-sh|*/sh) is=sh ;; esac ;; */ash) is=ash ;; */ksh) is=ksh ;; */pdksh) is=ksh ;; */zsh) is=zsh ;; */*) is=sh ;; esac should work even for future bash versions -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.