]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add the '-t timeout' option to the 'read' builtin. This allows the
authorMike Smith <msmith@FreeBSD.org>
Mon, 29 Sep 1997 15:15:16 +0000 (15:15 +0000)
committerMike Smith <msmith@FreeBSD.org>
Mon, 29 Sep 1997 15:15:16 +0000 (15:15 +0000)
commitafa53c8df7253e5aa5cd4ab80494b2f106a33481
treefa8e8828e8fa62a3a255c34366d5847e8a6e478a
parentb71ec8cc2951ed1b5f7cb4c136c6aff38fc88ef3
Add the '-t timeout' option to the 'read' builtin.  This allows the
'read' command to return an error if the user fails to supply any
input withink a given time period.  The behaviour of this option is
similar to that of the like-named option in ksh93.

Reviewed by: joerg
bin/sh/miscbltin.c
bin/sh/sh.1