Re: Broken pipe warning from bash. (question for bash maintainer)

2004-10-05 Thread Reini Urban
Christopher Faylor schrieb: On Wed, Sep 29, 2004 at 05:34:15AM +0200, Bas van Gompel wrote: Op Tue, 28 Sep 2004 09:53:32 +0200 (MET DST) schreef ik : Following little (bash) shell-script many times causes a Broken pipe : (SIGPIPE) warning to be emitted by bash. Is this expected behaviour? Maybe I

RE: Broken pipe warning from bash. (question for bash maintainer)

2004-10-05 Thread Dave Korn
-Original Message- From: cygwin-owner On Behalf Of Reini Urban Sent: 05 October 2004 11:09 cgf: Could you please add the following components to cygwin in bugzilla. cygwin: - bash versions: 2.05b - postgresql versions: 7.4.5, 8.0.0, snapshot - curl-devel

Re: Broken pipe warning from bash. (question for bash maintainer)

2004-10-05 Thread Christopher Faylor
On Tue, Oct 05, 2004 at 11:17:14AM +0100, Dave Korn wrote: -Original Message- From: cygwin-owner On Behalf Of Reini Urban Sent: 05 October 2004 11:09 cgf: Could you please add the following components to cygwin in bugzilla. cygwin: - bash versions: 2.05b - postgresql

Re: Broken pipe warning from bash. (question for bash maintainer)

2004-09-28 Thread Christopher Faylor
On Wed, Sep 29, 2004 at 05:34:15AM +0200, Bas van Gompel wrote: Op Tue, 28 Sep 2004 09:53:32 +0200 (MET DST) schreef ik : Following little (bash) shell-script many times causes a Broken pipe : (SIGPIPE) warning to be emitted by bash. Is this expected behaviour? Maybe I should have been

RE: bash question

2002-05-17 Thread Bernard A Badger
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Blackburn Sent: Thursday, May 16, 2002 11:55 PM To: [EMAIL PROTECTED] Subject: Re: bash question You asked this in the wrong place btw, (I think its a bash specific questing) but here goes

bash question

2002-05-16 Thread Andrew DeFaria
I may have asked this before but I'd really like to understand this and get a fix for it. Given the following script: #!/bin/bash declare -i i=0 for x in 1 2 3; do let i=i+1 echo item $x done echo Processed $i items cat /tmp/file END item 1 item 2 item 3 END declare -i i=0 cat

Re: bash question

2002-05-16 Thread Mark Blackburn
You asked this in the wrong place btw, (I think its a bash specific questing) but here goes anyways: #!/bin/bash i=0 for x in 1 2 3; do let i=i+1 echo item $x done echo Processed $i items cat /tmp/file END item 1 item 2 item 3 END cat /tmp/file | { export i=0; while read item; do \ let