NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/48499 (sh(1) doesn't allow the POSIX command(1) -pv)
The following reply was made to PR bin/48499; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: bin/48499 (sh(1) doesn't allow the POSIX command(1) -pv)
Date: Thu, 26 Jul 2018 00:11:43 +0700
Date: Wed, 25 Jul 2018 15:50:01 +0000 (UTC)
From: Steffen Nurpmeso <steffen%sdaoden.eu@localhost>
Message-ID: <20180725155001.7A2D47A22E%mollari.NetBSD.org@localhost>
| Great. I have found the report: from 2014-01-04. ^.^
We are gardually cleaning up the reported problems....
gradually!
| This is really not easy for me, so much download.
I understand. If you have a working NetBSD (7 or more recent)
and you tell me which version, I can probably make you a sh binary
from current sh sources, to work on that system, if you'd like to try it.
Otherwise I'll wait a bit in case there any other reported issues, and
then close this.
| I have seen NetBSD now follows No. 1 regarding context revelation:
|
| #?1[steffen@essex ]$ alias a=b
| #?0[steffen@essex ]$ alias b='echo c'
| #?0[steffen@essex ]$ a
| c
This much could be from the NetBSD sh, but
| #?0[steffen@essex ]$ command -v a
| alias a='b'
| #?0[steffen@essex ]$ command -V a
| a is aliased to `b'
that isn't, that looks like bash.
What NetBSD sh (from HEAD) does is ...
[jinx]$ command -v a
b
[jinx]$ command -V a
a is an alias for: b
| May i suggest going one step further for this interactive thing,
[...]
| a -> b -> 'echo c'
You can send in another PR (a change request) for that if you
like, and we'll see what people think - but I would not be inclinded
to go that far unless there is a real demand for it (just means a
bunch of extra code for an obscure feature (aliases) that should
probably just be removed anyway).
| Ciao from midsummer Germany,
I was once told that "ausweidersehen" was inappropriate for a
phone call, and I'd guess "ausweiderhoeren" is just as
inappropriate for an e-mail, so "ausweiderbreifen" ???
kre
Home |
Main Index |
Thread Index |
Old Index