[BusyBox] New topic: read command

Matt Kraai kraai at alumni.carnegiemellon.edu
Wed Jan 24 21:53:09 UTC 2001


On Wed, Jan 24, 2001 at 03:45:56PM -0600, David Douthitt wrote:
> Note: if there is a read command in busybox, I don't know about it.
> 
> What would it take to create a "read" that supported most of the 
> options present in BASH 2.0.4 (most specifically, the "-t" option...)
> 
> Is this a good idea?
> 
> How would you go about overriding the shell's internal "read" 
> comamnd with an external command?  The shell, in this case, 
> would be ash.

It would be pretty difficult.  You would have to have shell
support of one form or another, as the read command sets a shell
variable.  It would be easier to hack the shell than to create an
external command, in my opinion.

Matt





More information about the busybox mailing list