| Author |
Message |
Geoff Wing *nix forums beginner
Joined: 13 Feb 2005
Posts: 2
|
Posted: Sun Feb 13, 2005 3:32 am Post subject:
Re: zsh: no read -p "prompt qestion: " varname ???
|
|
|
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 |
|
| Back to top |
|
 |
Shea Martin *nix forums beginner
Joined: 06 Apr 2005
Posts: 47
|
Posted: Sat Feb 12, 2005 7:52 pm Post subject:
Re: zsh: no read -p "prompt qestion: " varname ???
|
|
|
Ed Morton wrote:
| Quote: |
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.
|
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 |
|
| Back to top |
|
 |
Ed Morton *nix forums Guru
Joined: 20 Feb 2005
Posts: 1073
|
Posted: Sat Feb 12, 2005 7:41 pm Post subject:
Re: zsh: no read -p "prompt qestion: " varname ???
|
|
|
shea martin wrote:
| Quote: | 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. |
|
| Back to top |
|
 |
Shea Martin *nix forums beginner
Joined: 06 Apr 2005
Posts: 47
|
Posted: Sat Feb 12, 2005 7:12 pm Post subject:
zsh: no read -p "prompt qestion: " varname ???
|
|
|
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 |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|