[PLUG-Devel] busybox ash shell pause command?

Alan Dayley alandd at consultpros.com
Sat Nov 1 13:54:21 MST 2008


I have a script running in a busybox ash shell.  I want the script to
display a message (echo) and then pause for the user to press a key on
the terminal.  I can't seem to find the right command to do this.  A
couple of sites suggest something with the read command like:

read -p "Press a key"

or

read -p "$*"

But neither of the above result in a pause.  The read command goes
merrily reading nothing and the script moves on.

Any other ideas from out there?

Alan


More information about the PLUG-devel mailing list