zsh-users
 help / color / mirror / code / Atom feed
* read -s
@ 2002-08-14 14:31 Oliver Sturm
  2002-08-14 15:02 ` Oliver Kiddle
  0 siblings, 1 reply; 7+ messages in thread
From: Oliver Sturm @ 2002-08-14 14:31 UTC (permalink / raw)
  To: zsh-users

Hi!

In bash, I can do "read -s" to emulate a password prompt without any
echoing. Is there some way to do the same in zsh? The -s or a similar
parameter isn't supported, is it? Is there an external command that I
don't know? Thanks for any input!


                       Oliver Sturm

-- 
Fa. Manfred Dahlhoff - Buellenkothenweg 37a - 40229 Duesseldorf
Tel.: 0211-2202821   - Fax: 0211-2202822    -
http://www.Manfred-Dahlhoff.de


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: read -s
@ 2002-08-19 16:34 Chet Ramey
  0 siblings, 0 replies; 7+ messages in thread
From: Chet Ramey @ 2002-08-19 16:34 UTC (permalink / raw)
  To: raul; +Cc: okiddle, zsh-users, chet

> >>     For example, bash has a non-POSIX, non-SuSv3 compliant
> >> implementation of 'printf' builtin
> >Out of interest, in what way is bash's printf non-compliant?
> 
>     The 'printf' builtin of BASH gives an error if you print, for
> example, '--'. It interprets it as an option given... SuSv3 says that
> printf must print whatever you pass as parameter.

This is not correct.

In http://www.opengroup.org/onlinepubs/007904975/utilities/printf.html:

The `OPTIONS' section of the printf description says `None'.

http://www.opengroup.org/onlinepubs/007904975/utilities/xcu_chap01.html#tag_01_11
describes what this means:

Default Behavior: When this section is listed as "None.", it means
that the implementation need not support any options.  Standard
utilities that do not accept options, but that do accept operands,
shall recognize "--" as a first argument to be discarded. 

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )

Chet Ramey, ITS, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-08-19 16:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-14 14:31 read -s Oliver Sturm
2002-08-14 15:02 ` Oliver Kiddle
2002-08-15  7:49   ` Oliver Sturm
2002-08-15  9:59   ` DervishD
2002-08-15 11:57     ` Oliver Kiddle
2002-08-16 11:30       ` DervishD
2002-08-19 16:34 Chet Ramey

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).