[BusyBox] Small ASH patch
Tim Riker
Tim at Rikers.org
Sat Oct 5 14:28:03 UTC 2002
From: http://cnswww.cns.cwru.edu/~chet/bash/NEWS 2.04 release info:
h. The `read' builtin has a number of new options:
-t timeout only wait timeout seconds for input
-n nchars only read nchars from input instead of a full line
-d delim read until delim rather than newline
-s don't echo input chars as they are read
Emanuele Aina wrote:
>
> Vladimir N. Oleynik provò:
>
> > Jordan,
> >
> >>GNU bash, version 2.05.8(1)-release
> >
> > Ok. May be. ;)
> >
> > dzo at dzo:~ 504$ bash --version
> > GNU bash, version 2.03.0(1)-release (i386-slackware-linux-gnu)
> > Copyright 1998 Free Software Foundation, Inc.
> > dzo at dzo:~ 505$ read -n 5 aaa
> > bash: read: illegal option: -n
> > read: usage: read [-r] [-p prompt] [-a array] [-e] [name ...]
> > dzo at dzo:~ 506$
>
> I can confirm that on my system it works perfectly (Debian 3.0):
>
> em at tritemio:~$ bash --version
> GNU bash, version 2.05a.0(1)-release (i386-pc-linux-gnu)
> Copyright 2001 Free Software Foundation, Inc.
>
> --
> Buongiorno.
> Complimenti per l'ottima scelta.
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/mailman/listinfo/busybox
--
Tim Riker - http://rikers.org/ - TimR at Debian.org
Lineo CTO - Tim at Lineo.com - http://www.Lineo.com/
BZFlag maintainer - http://BZFlag.org/ - for fun!
More information about the busybox
mailing list