jeremy bentham writes:
> I probably wasn't clear enough in my Real Question, which is, will
> doing this--what I really want--Seriously Break Something? Lots of
> stuff uses "/bin/sh".
Not likely. When called as sh Bash goes into a compatibility mode.
--
John Hasler
jhas...@newsguy.com
Elmwood
On Wed, Apr 22, 2015 at 11:43:17PM -0600, Glenn English wrote:
>
> On Apr 22, 2015, at 9:22 PM, Bob Proulx wrote:
>
> > jeremy bentham wrote:
> >> I am finally abandonning my fifteen-year-old computer and Lenny
> >> for a six (?) year old used Gateway 2802 (as a Bad Consumer
> >> (tm) I never bu
Hi Jeremy,
not sure whether you are aware of checkbashisms tool (part of devscripts
package). That could help you to learn how to write POSIX compliant scripts.
Others helped you much more. :-)
On Thu, Apr 23, 2015 at 5:02 AM, jeremy bentham wrote:
> I am finally abandonning my fifteen-year-old
Glenn English wrote:
> May I suggest just changing the pointer from Dash back to Bash. You
> sound like somebody that stays with a release for a while, and this
> is would be a lot less work than editing all those scripts.
But trivial to change those scripts. Test it this way:
find . -type f
On Apr 22, 2015, at 9:22 PM, Bob Proulx wrote:
> jeremy bentham wrote:
>> I am finally abandonning my fifteen-year-old computer and Lenny
>> for a six (?) year old used Gateway 2802 (as a Bad Consumer
>> (tm) I never buy anything new if I can avoid it) and, right now,
>> it has a start at Wheezy
On 04/22/2015 08:02 PM, jeremy bentham wrote:
I have a bunch of scripts ...
with the first line #!/bin/sh that use bashisms, ...
How about changing the shebang line of the scripts with Perl?
http://debian-administration.org/article/298/Search_and_replace_across_many_files_with_a_perl_one-line
jeremy bentham wrote:
> I am finally abandonning my fifteen-year-old computer and Lenny
> for a six (?) year old used Gateway 2802 (as a Bad Consumer
> (tm) I never buy anything new if I can avoid it) and, right now,
> it has a start at Wheezy on it.
Congratulations on your recent upgrade. I am s
7 matches
Mail list logo