[Bug 1283309] [NEW] bash built-in read timeout (-t) doesn't work

Miroslav Prašil /cezz/ miroslav at pohonet.sk
Sat Feb 22 00:55:22 UTC 2014


Public bug reported:

This should timeout after 2 seconds (based on bash man page) but it doesn't:
#read -t 2 test
(waits infinitely, only terminates after pressing [enter] or ctrl-C, etc..)

bash --version:
GNU bash, version 4.2.25(1)-release (x86_64-pc-linux-gnu)

Installed bash package version:
4.2-2ubuntu2.1

$ lsb_release -rd
Description:	Ubuntu 12.04.4 LTS
Release:	12.04

** Affects: bash (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bash read timeout

** Package changed: xubuntu-meta (Ubuntu) => bash (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1283309

Title:
  bash built-in read timeout (-t) doesn't work

Status in “bash” package in Ubuntu:
  New

Bug description:
  This should timeout after 2 seconds (based on bash man page) but it doesn't:
  #read -t 2 test
  (waits infinitely, only terminates after pressing [enter] or ctrl-C, etc..)

  bash --version:
  GNU bash, version 4.2.25(1)-release (x86_64-pc-linux-gnu)

  Installed bash package version:
  4.2-2ubuntu2.1

  $ lsb_release -rd
  Description:	Ubuntu 12.04.4 LTS
  Release:	12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1283309/+subscriptions



More information about the foundations-bugs mailing list