[BusyBox] Small ASH patch
Jordan Crouse
jordanc at censoft.com
Wed Oct 2 08:45:03 UTC 2002
GNU bash, version 2.05.8(1)-release
(From the man page):
-n nchars
read returns after reading nchars characters
rather than waiting for a complete line of
input.
Jordan
On Wed, 02 Oct 2002 12:05:26 +0400
"Vladimir N. Oleynik" <dzo at simtreas.ru> wrote:
> Jordan,
>
> > Attached is a small patch to ash.c that adds support for the -n parameter
> > of the builtin 'read' function - this allows one to read N characters
> > instead of a single line. Normally this wouldn't be an issue,
> > but I found myself wanting it when I was writing a few scripts
> > for a thin client platform - I like it better when you can enter Y
> > or N without having to press ENTER.
>
> Hmm. bash don`t support this option ;) I not agree this patches.
> I think, may be realising "-e" option for future...
>
>
> --w
> vodz
>
More information about the busybox
mailing list