X-Spam-Check-By: sourceware.org Date: Sat, 28 Jan 2006 14:12:27 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: csh script hangs only on cygwin Message-ID: <20060128131227.GE15572@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 On Jan 27 11:55, Stewart Midwinter wrote: > I've been able to isolate a problem with csh on cygwin running on > Windows Server 2003 on a Xeon. The following script hangs after a > certain period of time ranging from a few minutes to a few hours. > > --------------- > #!/bin/csh > > while (1) > set year = `date +%y` > set month = `date +%m` > set day = `date +%d` > set hour = `date +%H` > set minute = `date +%M` > set second = `date +%S` > set stamp = "$year$month$day $hour : $minute : $second" > echo $stamp > sleep 2 > end > ------------ WFM. I tried it for > 3 hours with no hang. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/