29 Jul
2010
29 Jul
'10
18:08
http://bugzilla.novell.com/show_bug.cgi?id=626629 http://bugzilla.novell.com/show_bug.cgi?id=626629#c1 --- Comment #1 from Torsten Foertsch <torsten.foertsch@gmx.net> 2010-07-29 18:08:45 UTC --- How about this function to distiguish sh from bash? is_bash () { (x-y () { :; }) 2>/dev/null } It can be used as: if is_bash; then echo "bash"; else echo "no bash"; fi -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.