Re: prefilling keyboard buffer

2007-06-16 Thread Chris F.A. Johnson
greno wrote: > How can the keyboard buffer be prefilled with an answer for a read command? > I want to prompt the user with a question using the read command and then > suggest an answer that they could backspace over and change if necessary. default="Something or other" history -s "$default" re

Re: prefilling keyboard buffer

2007-06-16 Thread Bob Proulx
greno wrote: > How can the keyboard buffer be prefilled with an answer for a read command? > I want to prompt the user with a question using the read command and then > suggest an answer that they could backspace over and change if necessary. In order to do this a helper application is usually n