This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: csh script hangs only on cygwin
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/