X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type; q=dns; s=default; b=pl9SgR 4p+zToytHzb1u3uMXtDX1ze4XO30lQ1NX3N86B96S2/1ExnTp/skHP0WmhSQ2aM6 yp8VRs7gfBOLuPDq1W1XnoAJ2O4mqj9lqwVAqQQXdyxv4vzccUmU2nipKMO6Dyv5 DtXE6YgeuKbUK1waacqcRz6CKaPhtUEfs7ccc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type; s=default; bh=IFbA/xQaEHPQ qQXAlDYSYynzLjE=; b=yZXE4mqFy0VV7Re8KkXP6wbvb5JH3QODmta/q3bvUjdb 3mHJmX4XMxIW4trZXPHWX7K9AlnVOAVe1bDpRWSDJB+UQU0kJ2+B/Yueh41Nk3Dq MaU7q+OV7BQa23YVLzAf0fGV2DPjTrl4M6yHwCPEdmjQaldHW9iF+pszWLDIGtI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Message-ID: <54D91E53.5080907@redhat.com> Date: Mon, 09 Feb 2015 13:53:39 -0700 From: Eric Blake User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: /dev/tty does not work from shell References: <1598899839 DOT 20150209072327 AT yandex DOT ru> <54D8741A DOT 5020805 AT towo DOT net> <20150209113620 DOT F876DF38 DOT helmut DOT karlowski AT ish DOT de> <54D91AC6 DOT 8030101 AT towo DOT net> In-Reply-To: <54D91AC6.8030101@towo.net> OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MNkQdpO8RgoRB8RX7TswhRbap2RtfqxwQ" X-IsSubscribed: yes --MNkQdpO8RgoRB8RX7TswhRbap2RtfqxwQ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/09/2015 01:38 PM, Thomas Wolff wrote: >> bash prints that message when it has the noclobber-option set. Maybe >> you check it? > Yes, indeed, the effect shows up after set -o noclobber; > however, this shouldn=E2=80=99t apply to device files (and doesn=E2=80=99= t on other > systems) - > man bash: =E2=80=9Credirection will fail if the file ... is a regular fil= e.=E2=80=9D Huh. I can reproduce it, even with the new experimental bash 4.3. I'll see if I can find the bug in the sources. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --MNkQdpO8RgoRB8RX7TswhRbap2RtfqxwQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJU2R5TAAoJEKeha0olJ0NqKmcH/0HyaqTaQnBCIavxSzG0gB3C 0Sx7OF4syFivuuI4MftoDVV9Mt4LCUl370kIoiP20/7hECVaHm0BUCrHUOPfECz9 ALVeZkEqI2JkdADbbGNh4t1xe52MrBppLDFhBGLvSZagtvoRzyCHqXSrWJv+hzhp TyF+LBWLiQbbE5WbkuNvdo/5B32m48kK96aI7V19nDGfjjoRnXvRuLCEzN9QUxHB QJGTyFQp3wk/uvFTb70NfSy9O5ex9K55UXKLLYcn6wtxavd97/HQOtmX3OST0dJI U3BrNjqJ2sOKdlRvMilUhmPaIW0WTVf1HsSbHZJ0e2m01Xc39f+u72AHmwp82Ag= =yV98 -----END PGP SIGNATURE----- --MNkQdpO8RgoRB8RX7TswhRbap2RtfqxwQ--