Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: read -s
- X-seq: zsh-users 5244
- From: DervishD <raul@xxxxxxxxxxxx>
- To: okiddle@xxxxxxxxxxx, o.sturm@xxxxxxxxxxxxxxxxxxx
- Subject: Re: read -s
- Date: Thu, 15 Aug 2002 11:59:40 +0200
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <E17ezfU-00042N-00@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Pleyades
- References: <1029335491.21222.75.camel@carrot> <E17ezfU-00042N-00@xxxxxxxxxxxxxxxxxx>
- Reply-to: DervishD <raul@xxxxxxxxxxxx>
- Sender: DervishD <raul@xxxxxxxxxxxx>
Hi Oliver :)
>I expect it would be fairly easy to add this -s option to the read in zsh.
>Does anyone think it would be worth doing?
IMHO the stty solution is cleaner and more portable. BASH is
bloated with things like those, please don't imitate ;))
For example, bash has a non-POSIX, non-SuSv3 compliant
implementation of 'printf' builtin, and zsh has one fully compliant,
and this is applicable to more builtins. The '-s' flag to read is not
necessary at all. UNIX has this policy (IMHO, again): keep it simple
and divide the tasks among processes instead of bloating one of them.
Raúl
Messages sorted by:
Reverse Date,
Date,
Thread,
Author