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:in-reply-to:references:date:subject :from:to:reply-to:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=Ng4edKunPcXNjxlF Lm7nbSRgdMtj/WnjJDDEWxPIoEM4d+jewhTmme0j5ij3cWcT2RnlhyZ/kWfXBIp+ F3cnWguIMII+ojUGuNMU6NE7a4UXTzZyKMGE5t/Bud2CvoJY5DoNscQ9R+h1DFpn kdeZCG4SIqo3h+vNGBMCgnPTnTM= 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:in-reply-to:references:date:subject :from:to:reply-to:mime-version:content-type :content-transfer-encoding; s=default; bh=T7OHP5UJKLpOlIODVeSt9H Hg4IE=; b=n8vbG1COrkL4GmqLx7RlaM85a9JFHlYNu40xtjgIigIdIJvDSRNuu9 EDz40eHkFjOJtIzaxsnmtc1WThLHEIeEkbjRU6xHuEcnNdvfLyWWyITvVxAdc+FF xB6u1lTDKEz3hVrUW+1mYFFEwHD5pKGyKF/1x7XxF9E0uZ7WY9P4Y= 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=1.8 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*UA:SquirrelMail, H*u:SquirrelMail, H*M:squirrel, H*r:SquirrelMail X-HELO: www.schneiderp.de Message-ID: <581103da7715b704f454365749ab3b00.squirrel@mail.schneiderp.de> In-Reply-To: <1761324316.20170710155536@yandex.ru> References: <1761324316 DOT 20170710155536 AT yandex DOT ru> Date: Mon, 10 Jul 2017 15:41:47 +0200 Subject: Re: Redirection to stderr From: "Peter Schneider" To: cygwin AT cygwin DOT com Reply-To: cygwin-mailinglist AT schneiderp DOT de User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes On Mon, July 10, 2017 14:55, Andrey Repin wrote: > Greetings, cygwin-mailinglist! > >> On Mon, July 10, 2017 12:33, Marco Atzeri wrote: >>> >>> On 10/07/2017 11:06, cygwin-mailinglist wrote: >> [...] >>>> Rationale aside, it is a bug, isn't it? >>> >>> I guess a side effect of a lost race. > >> Which race, exactly? > > echo aaa > a > cat a > a The problem with "cat a > a" is entirely unrelated to "some-cmd 2>/dev/stderr". (Apart from /dev/stderr not being a regular file, some-cmd does not receive a path argument which it tries to open, the way "cat a" does.) -- 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