Mail Archives: cygwin/2014/03/24/14:36:20
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:reply-to:mime-version:to
|
| :subject:references:in-reply-to:content-type
|
| :content-transfer-encoding; q=dns; s=default; b=r8eFabeInS+F0Oh3
|
| DOi0gdLLWN/Oim+JJaVO8FFX0n11pHx5DwOnIU/SlUem0NC1vHLPhLsm2mKeCVLW
|
| MA7MHCKGk+dcQ5xFQNtuhWRiPOTKqKY70cKkr9MXf5d7dlxffpnc5l3lwKRG3pi+
|
| dIqV8lQ0iDAx+SLmmDaxZF3jBCw=
|
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:reply-to:mime-version:to
|
| :subject:references:in-reply-to:content-type
|
| :content-transfer-encoding; s=default; bh=J8ZFedYvgFOIxqu8UZvbyE
|
| cQUPg=; b=tw8d840oqICQh3TFvnzsQscnvh9nqsdCi5aC5jujrm3E82/tgKySvU
|
| XNWuHTQUnxf9qHkZEDQFZn2QMhlZVNGEnU0wC9nHxJsw8Ee5zP66qHE7NfCH+IHM
|
| +1TXE3HtJ3xCbNhzSndg1dWboc559rPYo51R3ast8RAel+xlcfw9Y=
|
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm
|
List-Id: | <cygwin.cygwin.com>
|
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com>
|
List-Archive: | <http://sourceware.org/ml/cygwin/>
|
List-Post: | <mailto:cygwin AT cygwin DOT com>
|
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
|
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.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
|
X-HELO: | vms173021pub.verizon.net
|
Message-id: | <53307B0B.3000400@cygwin.com>
|
Date: | Mon, 24 Mar 2014 14:35:55 -0400
|
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
|
Reply-to: | cygwin AT cygwin DOT com
|
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
|
MIME-version: | 1.0
|
To: | cygwin AT cygwin DOT com
|
Subject: | Re: Advanced Bash-Scripting Guide script result different with it on the linux
|
References: | <CAE5KSAYaBGnn_ifz67wHb7Li4Q8pJ=s=cHshbjjyj1ufvHW1mg AT mail DOT gmail DOT com>
|
In-reply-to: | <CAE5KSAYaBGnn_ifz67wHb7Li4Q8pJ=s=cHshbjjyj1ufvHW1mg@mail.gmail.com>
|
On 3/24/2014 2:02 PM, shu wrote:
> A script in Advanced Bash-Scripting Guide (at the bottom of
> http://www.tldp.org/LDP/abs/html/ioredirintro.html )
>
> Even i had change "sleep 1" -->"sleep 3" , still different.
> Come out result:
> 2nd, to stderr
> FD4: FIFO2: 3rd, to fd 3
> FD6: FIFO2: 3rd, to fd 3
> FD5: FIFO2: 3rd, to fd 3
> FIFO1: FIFO2: 3rd, to fd 3
> FD4: 4th, to fd 4
> FD5: 5th, to fd 5
> FD5: PIPE: 6th, through a pipe, to fd 5
> FD6: 7th, to fd 6
> FIFO1: 8th, to fd 7
> FIFO1: FD8: 9th, to fd 8, to fd7
>
>
> While linux result is:
> 1st, to stdout
> 2nd, to stderr
> FIFO2: 3rd, to fd 3
> FD4: FIFO2: 3rd, to fd 3
> FIFO1: FIFO2: 3rd, to fd 3
> FD5: FIFO2: 3rd, to fd 3
> FD6: FIFO2: 3rd, to fd 3
> FD4: 4th, to fd 4
> FD5: 5th, to fd 5
> FD5: PIPE: 6th, through a pipe, to fd 5
> FD6: 7th, to fd 6
> FIFO1: 8th, to fd 7
> FIFO1: FD8: 9th, to fd 8, to fd7
I got this with Cygwin 1.7.28.
1st, to stdout
2nd, to stderr
FIFO2: 3rd, to fd 3
FD4: FIFO2: 3rd, to fd 3
FIFO1: FIFO2: 3rd, to fd 3
FD5: FIFO2: 3rd, to fd 3
FD6: FIFO2: 3rd, to fd 3
FD4: 4th, to fd 4
FD5: 5th, to fd 5
FD5: PIPE: 6th, through a pipe, to fd 5
FD6: 7th, to fd 6
FIFO1: 8th, to fd 7
FIFO1: FD8: 9th, to fd 8, to fd7
If just this information doesn't help you find where your problem is, I
recommend reading and following the problem reporting guidelines at the
link below before any follow-up email to this list:
> Problem reports: http://cygwin.com/problems.html
--
Larry
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
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
- Raw text -