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

Miroslav Prašil miroslav at pohonet.sk
Sat Feb 22 01:08:20 UTC 2014


I've just noticed I have libreadline5 installed on misbehaving system
(due to some dependencies) That's the only difference I can see right
now. (correctly working EC2 instance only has libreadline6 installed)

$ dpkg -l *readline* 
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name             Version          Description
+++-================-================-================================================
un  libreadline-comm <none>           (no description available)
un  libreadline-ruby <none>           (no description available)
un  libreadline4     <none>           (no description available)
ii  libreadline5     5.2-11           GNU readline and history libraries, run-time lib
ii  libreadline6     6.2-8            GNU readline and history libraries, run-time lib
un  libterm-readline <none>           (no description available)
un  libterm-readline <none>           (no description available)
ii  readline-common  6.2-8            GNU readline and history libraries, common files
un  tclreadline      <none>           (no description available)

-- 
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