bug-bash
[Top][All Lists]
Advanced

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

Re: read builtin is not honoring -t argument


From: Todd B. Stein
Subject: Re: read builtin is not honoring -t argument
Date: Thu, 12 Dec 2013 09:03:38 -0800

I'm very sorry; I believe I may have wasted your time. After further
testing, I can only reproduce this using xfce4-terminal (0.6.2) in Fedora
19. Read works fine in gnome-terminal and on tty's, so I hereby
respectfully retract my report. Thank you for the work you guys do!

Just to show I'm not (completely) insane, though:

----
[todd@tibs6 ~]$ echo $0
bash
[todd@tibs6 ~]$ type -a read
read is a shell builtin
read is /usr/bin/read
read is /bin/read
[todd@tibs6 ~]$ time timeout -s 9 5s read -t 1
Killed

real    0m5.001s
user    0m0.000s
sys    0m0.000s
[todd@tibs6 ~]$ time read -t 1
asdf

real    0m7.904s
user    0m0.000s
sys    0m0.000s
---


On Thu, Dec 12, 2013 at 7:49 AM, Geir Hauge <geir.hauge@gmail.com> wrote:

> 2013/12/11 <toddbstein@gmail.com>
>
>> Description:
>>         read builtin is not honoring -t argument
>>
>> Repeat-By:
>>         Just run 'read -t1' and note that the behavior seems not
>> different from simply running 'read' without arguments.
>>
>
> What does ''type read'' say? perhaps you have a function or alias by that
> name. I can't reproduce it either.
>
> --
> Geir Hauge
>


reply via email to

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