help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-bash] read


From: Bill Gradwohl
Subject: [Help-bash] read
Date: Sat, 17 Mar 2012 21:47:35 -0600

address@hidden ~# TMOUT=1; read; echo $?; sleep 10
142


Can I count on that return code for a timeout?

What are the other read return codes?

BTW the sleep 10 is so I can see what went on.
On Fedora 16 Gnome 3 x86_64 fully patched, this always causes the terminal session to die.

--
Bill Gradwohl


reply via email to

[Prev in Thread] Current Thread [Next in Thread]