1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Willie Wong wrote: |
5 |
> On Sat, Nov 10, 2007 at 11:13:10AM +0200, Penguin Lover Etaoin |
6 |
> Shrdlu squawked: |
7 |
>>> The question: |
8 |
>>> |
9 |
>>> Is there a switch that I can use to make bash run in some sort |
10 |
>>> of compatibility mode for the string comparison? I.e, can I |
11 |
>>> somehow force bash (in the script) to behave like before? |
12 |
>> Low-tech solution: can't you just install bash 3.1 manually |
13 |
>> somewhere, create a symlink /bin/bash31 to it, and put |
14 |
>> #!/bin/bash31 at the beginning of your scripts? |
15 |
> |
16 |
> Yes I could.. but the amount of work it takes for me to do that and |
17 |
> remember that I did it is probably comparable to going back and |
18 |
> updating all my shell scripts. |
19 |
|
20 |
sed 's$!#/bin/bash$!#/bin/bash31' *.sh |
21 |
-----BEGIN PGP SIGNATURE----- |
22 |
Version: GnuPG v1.4.7 (GNU/Linux) |
23 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
24 |
|
25 |
iD8DBQFHNzMzaiVxdKlBO58RAgojAJ4qA0U9GL4UZKXqhfgjq//2MS4udwCeNPOM |
26 |
Yk614rjHgq6gCpNVxUI+06g= |
27 |
=8weZ |
28 |
-----END PGP SIGNATURE----- |
29 |
|
30 |
-- |
31 |
gentoo-user@g.o mailing list |