[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash-4.3 Official Patch 25
From: |
Andreas Schwab |
Subject: |
Re: Bash-4.3 Official Patch 25 |
Date: |
Thu, 25 Sep 2014 16:12:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Jason Vas Dias <jason.vas.dias@gmail.com> writes:
> <quote>
> #!/bin/bash
> tty
> echo $'1\n2' > test.list;
> while read line; do
> tty;
> done < test.list
> </quote>
>
> Its output illustrates the problem:
>
> <quote>
> $ ./bash /tmp/t.sh
> /dev/pts/6
> not a tty
> not a tty
> </quote>
tty uses stdin, so this is the expected output. Why do you think this
has anything to do with this patch?
$ tty --help | head -n 2
Usage: tty [OPTION]...
Print the file name of the terminal connected to standard input.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
Message not available
Re: Bash-4.3 Official Patch 25, Jason Vas Dias, 2014/09/25
Re: Bash-4.3 Official Patch 25, mark, 2014/09/25
Re: Bash-4.3 Official Patch 25, gnu.bash.bug, 2014/09/25
Re: Bash-4.3 Official Patch 25, M1ch34lk, 2014/09/25