We don't bite newbies here... much | |
PerlMonks |
Re^3: execute shell script from perlby afoken (Chancellor) |
on Sep 29, 2017 at 20:07 UTC ( [id://1200396]=note: print w/replies, xml ) | Need Help?? |
On some OSes /bin/sh is still the Bourne shell. And that's not all. /bin/sh varies wildly with OS and OS version, so it should be avoided where possible. If one has to resort to using a shell (why on earth?), one should explicitly use that shell (e.g. use /bin/bash, /bin/ksh or the like) instead of hoping for the default shell. Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
In Section
Seekers of Perl Wisdom
|
|