| Author |
zsh: no read -p "prompt qestion: " varname ???
|
|
| shea martin 2005-02-12, 5:49 pm |
| bash had a -p option for read which allowed prompt to be specified. zsh does not
seem to have this.
I can't seem to find the manpage dealing with the builtin read. In bash 'help
read' would print out what I want, but I in zsh 'help read' gives "key 'read'
not found".
Pointers?
TIA,
!S
| |
| Ed Morton 2005-02-12, 5:49 pm |
|
shea martin wrote:
> bash had a -p option for read which allowed prompt to be specified. zsh
> does not seem to have this.
>
> I can't seem to find the manpage dealing with the builtin read. In bash
> 'help read' would print out what I want, but I in zsh 'help read' gives
> "key 'read' not found".
>
> Pointers?
Did you try "man zsh"? There's a copy of the man page at
http://www.neosoft.com/neosoft/man/zsh.1.html if you're missing yours.
Ed.
| |
| shea martin 2005-02-12, 5:49 pm |
| Ed Morton wrote:
>
>
> shea martin wrote:
>
>
>
> Did you try "man zsh"? There's a copy of the man page at
> http://www.neosoft.com/neosoft/man/zsh.1.html if you're missing yours.
>
> Ed.
I just found the answer 'vared -c -p 'prompt qeustion'.
Funny, 'man zsh | grep vared'. I must have a bad version of zsh.
Thanks,
~S
| |
| Geoff Wing 2005-02-13, 2:47 am |
| shea martin <smartin@arcis.com> typed:
: I just found the answer 'vared -c -p 'prompt qeustion'.
: Funny, 'man zsh | grep vared'. I must have a bad version of zsh.
% man zshall | grep vared
By default the man page is split into several files. zshall pulls in each
section/file.
Regards,
Geoff
|
|
|
|