Andrey Repin writes:
> I agree, of course, but in this case, I have to ask one not strictly
> Cygwin-related question:
> Is 'local -' a POSIX construct and/or is there a way to achieve the same
> effect without using it? (Localize any shell option changes within a
> function.)
No. See my reply el
---
> On 04/04/2016 12:09 AM, Yaakov Selkowitz wrote:
> > On 2016-04-03 18:05, Andrey Repin wrote:
> >> Because, within my reach, Cygwin is the only system that not using
> >> DASH as
> >> /bin/sh. Though, I may try rolling some busybox
> >
> > Ther
On 04/04/2016 12:09 AM, Yaakov Selkowitz wrote:
> On 2016-04-03 18:05, Andrey Repin wrote:
>> Because, within my reach, Cygwin is the only system that not using
>> DASH as
>> /bin/sh. Though, I may try rolling some busybox…
>
> There *is* a world outside of Debian/Ubuntu; Fedora, RHEL/CentOS, and
Greetings, Yaakov Selkowitz!
> On 2016-04-03 18:05, Andrey Repin wrote:
>> Because, within my reach, Cygwin is the only system that not using DASH as
>> /bin/sh. Though, I may try rolling some busybox…
> There *is* a world outside of Debian/Ubuntu;
I have no doubt in that.
> Fedora, RHEL/CentOS
On 2016-04-03 18:05, Andrey Repin wrote:
Because, within my reach, Cygwin is the only system that not using DASH as
/bin/sh. Though, I may try rolling some busybox…
There *is* a world outside of Debian/Ubuntu; Fedora, RHEL/CentOS, and
Arch Linux all use bash for /bin/sh. However, a simple tes
Greetings, Yaakov Selkowitz!
> On 2016-04-03 01:24, Achim Gratz wrote:
>> Yaakov Selkowitz writes:
>>> I am not in favour of /bin/sh being alternatives-able.
>>
>> I'd posit that it should not be bash then and somwone else might
>> reasonably want a different /bin/sh, perhaps even bash. Which is
On 2016-04-03 01:24, Achim Gratz wrote:
Yaakov Selkowitz writes:
I am not in favour of /bin/sh being alternatives-able.
I'd posit that it should not be bash then and somwone else might
reasonably want a different /bin/sh, perhaps even bash. Which is
exactly why the alternatives system exists.
Dirk Fassbender writes:
> So it is not easy to write portable scripts for the standard shell
> /bin/sh between different systems and the exchange of the standard
> shell needs a check for all scripts, that uses a shebang line /bin/sh
> or are use during system initialisation.
Whatever is under /bi
Am 03.04.2016 um 08:24 schrieb Achim Gratz:
Yaakov Selkowitz writes:
I am not in favour of /bin/sh being alternatives-able.
I'd posit that it should not be bash then and somwone else might
reasonably want a different /bin/sh, perhaps even bash. Which is
exactly why the alternatives system exis
Yaakov Selkowitz writes:
> I am not in favour of /bin/sh being alternatives-able.
I'd posit that it should not be bash then and somwone else might
reasonably want a different /bin/sh, perhaps even bash. Which is
exactly why the alternatives system exists.
> The *proper* course of action is to us
On 2016-04-02 04:21, Achim Gratz wrote:
Andrey Repin writes:
Couple of my scripts rely on ASH/DASH functionality that is not present in
BASH. (Namely "local -".)
To amend that, I make a symlink /bin/sh = /bin/dash .
But every time bash update, it overwrite the link.
I think the correct course
Eric Blake writes:
> Since I maintain both dash and bash, I'm game for setting up /bin/sh as
> an alternative. However, I've never targeted the alternatives system
> before as a package maintainer; any advice on docs or an example that I
> could copy from? I would probably make the defaults give b
On 04/02/2016 03:21 AM, Achim Gratz wrote:
> Andrey Repin writes:
>> Couple of my scripts rely on ASH/DASH functionality that is not present in
>> BASH. (Namely "local -".)
>> To amend that, I make a symlink /bin/sh = /bin/dash .
>> But every time bash update, it overwrite the link.
>
> I think th
Andrey Repin writes:
> Couple of my scripts rely on ASH/DASH functionality that is not present in
> BASH. (Namely "local -".)
> To amend that, I make a symlink /bin/sh = /bin/dash .
> But every time bash update, it overwrite the link.
I think the correct course of action would be to put /bin/sh un
Greetings, All!
Couple of my scripts rely on ASH/DASH functionality that is not present in
BASH. (Namely "local -".)
To amend that, I make a symlink /bin/sh = /bin/dash .
But every time bash update, it overwrite the link.
So… How would I go about creating a handler that would restore the parity?
W
15 matches
Mail list logo