Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bash read -e command????

Status
Not open for further replies.

goldenradium2001

Technical User
Mar 22, 2002
91
US
Help! I'm trying to figure out how to use the read -e command? Can anyone give me an example of how to use it?

I have three different books and Internet resources on it but all they give is a definition but not an implementation of it.

Help!!!!

Thanks in advance.
 
what do you try?? -----------
when they don't ask you anymore, where they are come from, and they don't tell you anymore, where they go ... you'r getting older !
 
#!/bin/bash
#read
echo "Enter name:"
read -e
echo $REPLY

Before I do this, I do:

set -o vi

in bash.

Then I execute the script. When I try to do vi editing commands, it doesn't comply.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top