Am 09.02.2015 um 11:36 schrieb Helmut Karlowski:
--------------------------------------------------
Thomas Wolff <t...@towo.net> wrote:
(09/02/2015 09:47)
Am 09.02.2015 um 05:23 schrieb Andrey Repin:
Greetings, Thomas Wolff!
echo bla > /dev/tty
bash: /dev/tty: cannot overwrite existing file
WJFFM
Please be more specific.
I.e. terminal type and any other relevant information would help resolving
your issue.
(Though, I fail to replicate it with both mintty and native terminal.)
Hmm, I've observed this for a while already on all my cygwin
installations (64bit/32bit on 64/32bit Windows, ...)
and in different terminals (mintty, console, ...), so I'd thought it
would be reproducible. Pondering...
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’t apply to device files (and doesn’t on other
systems) -
man bash: “redirection will fail if the file ... is a regular file.”
------
Thomas
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple