X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Kevin Markle Subject: Re: Varibles not working in do loop... Date: Mon, 02 Apr 2007 16:13:05 -0400 Lines: 18 Message-ID: References: <46116207 DOT 8060009 AT cygwin DOT com> Reply-To: kmarkle AT pbs DOT org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15"; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Larry Hall (Cygwin) expressed precisely : > Kevin Markle wrote: >> Hello, >> I'm running this script and line 19 works when I create the variablea and >> type the command at a shell prompt. But when I try to run it from within >> the for loop it does not return a value and hangs? >> > > > A doctored up version (to fill in things you left out and make it consistent > with my system) works fine. I found the "hang" too but only if What does this mean please and or would you send me your copy that works fine? "$LOG" == > "". In these cases, the "hang" is 'cat' waiting for input from the command > line. -- 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/