* 'getln' builtin should fail without NAME
@ 2003-10-07 10:17 DervishD
0 siblings, 0 replies; only message in thread
From: DervishD @ 2003-10-07 10:17 UTC (permalink / raw)
To: Zsh Workers
Hi all :)
I'm using zsh-4.0.7, and I've noticed that 'getln' (equivalent to
read -zr), doesn't fail if a NAME is not provided. But the info
manual says that the NAME parameter is not optional (well, it is not
surrounded by brackets). If it is, then the manual should be
corrected. If it is not optional, then 'getln' should fail.
I'm afraid that the fail is in the manual, because 'getln'
correctly uses 'REPLY' if NAME is not given.
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-10-07 11:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-07 10:17 'getln' builtin should fail without NAME DervishD
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).