From: Ben Finney on
Sven Mascheck <mascheck(a)email.invalid> writes:

> John Kelly wrote:
>
> > I wonder what shells don't provide [[ ... ]]
>
> traditional Bourne shells
> Almquist shells
> posh

Including the Debian Almquist Shell ('dash'), which is now used for
'/bin/sh' on Debian systems and derivatives by default.

> > Hopefully I will never use them ...

If that's what you hope, then I advise you to never declare a shell of
'/bin/sh' in the shebang line.

--
\ “I am the product of millions of generations of individuals who |
`\ each fought against a hostile universe and won, and I aim to |
_o__) maintain the tradition.” —Paul Z. Myers, 2009-09-12 |
Ben Finney
From: John Kelly on
On Wed, 11 Aug 2010 09:10:08 +1000, Ben Finney
<ben+unix(a)benfinney.id.au> wrote:

>Sven Mascheck <mascheck(a)email.invalid> writes:
>
>> John Kelly wrote:
>>
>> > I wonder what shells don't provide [[ ... ]]
>>
>> traditional Bourne shells
>> Almquist shells
>> posh
>
>Including the Debian Almquist Shell (�dash�), which is now used for
>�/bin/sh� on Debian systems and derivatives by default.
>
>> > Hopefully I will never use them ...
>
>If that's what you hope, then I advise you to never declare a shell of
>�/bin/sh� in the shebang line.

I've never liked Debian or Ubuntu. Now I have a another reason.



--
Web mail, POP3, and SMTP
http://www.beewyz.com/freeaccounts.php

From: Seebs on
On 2010-08-11, John Kelly <jak(a)isp2dial.com> wrote:
> I've never liked Debian or Ubuntu. Now I have a another reason.

For those who missed it, his reason to dislike them is debhelper
used the name "dh", and ten years later Kelly came along and wrote
a mediocre daemon(8)-type program (runs its command line arguments as
a daemon), grabbed that name for it because he believed it would be
a "universal" utility, and then when he found out that a few million
people had already taken the name for something else, announced that
he liked to hear them squeal.

A real charmer. And marginally relevant, because it turns out you
can daemonize things quite nicely in shell:

( "$@" ) >/dev/null 2>&1 </dev/null &

(This could probably use some tweaking, but the idea is sound.)

-s
--
Copyright 2010, all wrongs reversed. Peter Seebach / usenet-nospam(a)seebs.net
http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures
http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!
From: pk on
Ben Finney wrote:

> Sven Mascheck <mascheck(a)email.invalid> writes:
>
>> John Kelly wrote:
>>
>> > I wonder what shells don't provide [[ ... ]]
>>
>> traditional Bourne shells
>> Almquist shells
>> posh
>
> Including the Debian Almquist Shell ('dash'), which is now used for
> '/bin/sh' on Debian systems and derivatives by default.

Yes, he said "Almquist shells".

From: Ben Finney on
pk <pk(a)pk.invalid> writes:

> Yes, he said "Almquist shells".

Indeed. My point was to make clear that “I've never heard of Almquist
shells so it can't be too widespread” is, despite its superficial
attractiveness, not a safe conclusion. Almquist shells are going to be
much more prevalent now, since 'dash' is the default '/bin/sh' in new
Debian installations as of the upcoming Squeeze release.

--
\ “To save the world requires faith and courage: faith in reason, |
`\ and courage to proclaim what reason shows to be true.” |
_o__) —Bertrand Russell |
Ben Finney