[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] Shell capabilities.
From: |
Mats Erik Andersson |
Subject: |
Re: [bug-inetutils] Shell capabilities. |
Date: |
Mon, 23 Jan 2012 13:22:52 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
måndag den 23 januari 2012 klockan 09:55 skrev Simon Josefsson detta:
> Mats Erik Andersson <address@hidden> writes:
>
> > lördag den 21 januari 2012 klockan 08:11 skrev Alfred M. Szmidt detta:
> >> > BTW, syslogd.sh says #!/bin/sh, but it seems to use non-POSIX
> >> > extensions, no?
> >> >
> >> > What extentions do are you thinking of exactly? I couldn't find
> >> > anything particular
> >>
> >> I noticed the $((foo)) construct that, according to the Autoconf
> >> manual, doesn't work on Solaris 10. However I thought we had some
> >> positive success on Solaris?
> >>
> >> $((FOO)) is in IEEE 1003.1-2004, not sure about earlier. Maybe
> >> Solaris uses a non-POSIX shell?
[...]
> to care about that platform. And further, I don't think Solaris support
> is something we should spend a lot of time on if it takes away time to
> work on other improvements that benefits GNU platforms.
Both of GNU/OpenSolaris-NexentaCore (in /sbin/sh) and
OpenIndiana (in /usr/has/bin/sh) provide a SVR4 Bourne
shell for legacy purposes. The issues that arise are
## Exit value reversal not available.
$ ! false
sh: !: not found
## Tilde expansion not provided.
$ echo ~ftp
~ftp
## Missing $( ) and $(( )) constructs.
$ echo $(date)
syntax error at line 1: ...
$ echo $((1 + 2))
syntax error at line 1: ...
## Stripped down grep: no "-q", no extended regex.
$ grep -h
Usage: grep -hblcnsviw pattern file ...
## Defective parameter handling
$ echo ${10}
sh: bad substitution
$ set -- 0 1 2
$ echo $2
1
$ set --
$ echo $2
1
Regards,
Mats
- [bug-inetutils] tests/syslogd.sh and /tmp, Ludovic Courtès, 2012/01/18
- Re: [bug-inetutils] tests/syslogd.sh and /tmp, Mats Erik Andersson, 2012/01/18
- Re: [bug-inetutils] tests/syslogd.sh and /tmp, Alfred M. Szmidt, 2012/01/18
- Re: [bug-inetutils] tests/syslogd.sh and /tmp, Ludovic Courtès, 2012/01/18
- Re: [bug-inetutils] tests/syslogd.sh and /tmp, Alfred M. Szmidt, 2012/01/19
- Re: [bug-inetutils] tests/syslogd.sh and /tmp, Simon Josefsson, 2012/01/19
- Re: [bug-inetutils] tests/syslogd.sh and /tmp, Alfred M. Szmidt, 2012/01/21
- [bug-inetutils] Shell capabilities. (Was: tests/syslogd.sh and /tmp), Mats Erik Andersson, 2012/01/22
- Re: [bug-inetutils] Shell capabilities., Simon Josefsson, 2012/01/23
- Re: [bug-inetutils] Shell capabilities.,
Mats Erik Andersson <=
- Re: [bug-inetutils] tests/syslogd.sh and /tmp, Mats Erik Andersson, 2012/01/18
Re: [bug-inetutils] tests/syslogd.sh and /tmp, Ludovic Courtès, 2012/01/18
Re: [bug-inetutils] tests/syslogd.sh and /tmp, Simon Josefsson, 2012/01/19