bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About printf %2$s (Was: Coordination on standardizing gettext() in f


From: Stephane CHAZELAS
Subject: Re: About printf %2$s (Was: Coordination on standardizing gettext() in future POSIX)
Date: Mon, 3 Feb 2020 11:47:07 +0000
User-agent: NeoMutt/20180716

2020-02-03 11:43:38 +0100, Joerg Schilling:
[...]
> > $ /usr/xpg4/bin/sh -c 'type printf'
> > printf is a shell builtin
> 
> This does not apply to OpenSolaris, but on OpenSolaris, this was closed 
> source 
> as ksh88 is not available under OSS license.
> 
> This also does not apply to Oracle Solaris 11.3, so where did you test?
> 
> Could you run "whatwhell" with this shell please?
[...]

That was Solaris 11.4 in a VM as freshly downloaded from Oracle.

Yes, it's based on ksh88, but note that as seen in my follow-up
messages on austin-group-l
(https://www.mail-archive.com/address@hidden/msg05548.html,
https://www.mail-archive.com/address@hidden/msg05549.html,
I had reduced the distribution by then as I don't expect it's of
much interest to GNU gettext), the system actually didn't run
/usr/xpg4/bin/sh at all in that case but ran /usr/bin/type
printf instead, where /usr/bin/type appears to be some special
build of ksh93. Which explains why it said printf was builtin.

If you don't get the same, then possibly that (undocumented
AFAICT) bypassing of sh is a new feature in 11.4 or you have
/usr/xpg4/bin ahead of /bin and/or /usr/bin in your $PATH, in
which case /usr/xpg4/bin/type is called instead.

(what's "whatwhell" by the way? or do you mean Scan Mascheck's
"whatshell"?)

-- 
Stephane



reply via email to

[Prev in Thread] Current Thread [Next in Thread]