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
