Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: ronald DOT van DOT gogh AT philips DOT com To: Subject: tr Message-ID: <0056890020378366000002L962*@MHS> Date: Wed, 31 Jan 2001 12:02:00 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; name="MEMO 01/31/01 11:57:54" Content-Disposition: inline Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id GAA30674 Gentlemen, we're trying to run a script with Tivoli on several NT servers. In this script we use at several positions the tr.exe to translate mixedcase strings to lowercase. We use it in several syntaxes: param=`echo $parameter | tr 'A-Z' 'a-z` and echo $parameter | tr 'A-Z' 'a-z'. We noticed that on a regular basis tr and sh processes got stuck and do no complete. Looking at a trace, generated with the set -vx command, shows several errors, like the ones stpecified below. How are they caused and how can we avoid this ? Kind regards, Ronald van Gogh ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- echo $parameter | tr 'A-Z' 'a-z' +++ echo Replica.Docs.Added +++ tr A-Z a-z tr: write error: Bad file number 0 [main] sh 644 sig_send: wait for sig_complete event failed, sig -2, rc -1, Win32 error 6 +++var=replica.docs.added 0 [sig] sh 631 wait_sig: WFMO failed, Win32 error 6 +++ tr A-Z a-z 0 [main] sh 675! spawn_guts: wait failed: nwait 3, pid 675, Win32 error 6 29213 [main] sh 675! spawn_guts: waitbuf[0] 0x14C 0 1121888 [main] sh 675! spawn_guts: waitbuf[1] 0x44 = -1 40239 [main] sh 675! spawn_guts: waitbuf[w] 0x124 = 0 C:\Tivoli\lcf\dat\1\Tiv297.SH: /Tivoli/lcf/bin/w32-ix86/tools/tr: No children ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple