-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2006-01-08 at 21:46 +0800, Peter Sutter wrote:
while read -t 5 data
and yet, man bash states under the read command the following:
-t timeout Cause read to time out and return failure if a complete line of input is not read within timeout seconds. This option has no effect if read is not reading input from the terminal or a pipe.
I went to "man read", and it says the only valid option is "-r", there is not "-t" option. This is in conflict on what "man bash" says for the "read" entry. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFDwu7FtTMYHG2NR9URAocBAJ0TZa5LxW7HxI2Ajq/8bH9PY74S6wCdF+BL VWerPOLyl13oyU75swxHOfU= =bI/g -----END PGP SIGNATURE-----