-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Willie Wong wrote: > On Sat, Nov 10, 2007 at 11:13:10AM +0200, Penguin Lover Etaoin > Shrdlu squawked: >>> The question: >>> >>> Is there a switch that I can use to make bash run in some sort >>> of compatibility mode for the string comparison? I.e, can I >>> somehow force bash (in the script) to behave like before? >> Low-tech solution: can't you just install bash 3.1 manually >> somewhere, create a symlink /bin/bash31 to it, and put >> #!/bin/bash31 at the beginning of your scripts? > > Yes I could.. but the amount of work it takes for me to do that and > remember that I did it is probably comparable to going back and > updating all my shell scripts.
sed 's$!#/bin/bash$!#/bin/bash31' *.sh -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHNzMzaiVxdKlBO58RAgojAJ4qA0U9GL4UZKXqhfgjq//2MS4udwCeNPOM Yk614rjHgq6gCpNVxUI+06g= =8weZ -----END PGP SIGNATURE----- -- [EMAIL PROTECTED] mailing list

