delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/03/11:18:34

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Kevin Markle <kmarkle AT pbs DOT org>
Subject: Re: Varibles not working in do loop...
Date: Tue, 03 Apr 2007 11:17:30 -0400
Lines: 29
Message-ID: <mn.1aa57d74977f77c0.51129@pbs.org>
References: <mn DOT 13aa7d74a3db2d48 DOT 51129 AT pbs DOT org> <46116207 DOT 8060009 AT cygwin DOT com> <mn DOT 13cd7d74d8141649 DOT 51129 AT pbs DOT org> <5abc24640704021326p2bfbcc0che61f4aec02964ec1 AT mail DOT gmail DOT com> <46116C70 DOT 8030508 AT cygwin DOT com> <mn DOT 1a5e7d74f9a48215 DOT 51129 AT pbs DOT org> <016001c775fd$c44d3b80$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <mn DOT 1a867d7497947429 DOT 51129 AT pbs DOT org> <5abc24640704030810t4f81c679j91051084beb7e426 AT mail DOT gmail DOT com>
Reply-To: kmarkle AT pbs DOT org
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Andrew Louie brought next idea :
> On 4/3/07, Kevin Markle  wrote:
>
>> There are 2 files related to each client listed in the file
>> 1group_1a_dev_clientlist.out the first grep grabs both files and the
>> second one get the specific log with the work windows in it:
>>
>> kmarkle AT backup /cygdrive/e/wsus/group_1a_DEV
>> $ ls -al
>> total 27992
>> drwxrwxrwx+ 2 Administrators ????????       0 Apr  2 16:51 .
>> drwx------+ 6 Administrators ????????       0 Apr  3 10:41 ..
>> -rwx------+ 1 Administrators ???????? 1284874 Mar 29 01:19
>> bvapp1_WINDOWSUpdate.log
>> -rwx------+ 1 Administrators ????????   27394 Apr  3 10:03
>> bvapp1_asr.log
>>
>> DIR="cygdrive/e/wsus/group_1a_DEV"
>>
>> for t in `cat $DIR/1group_1a_dev_clientlist.out`
>
> Does this "1group_1a_dev_clientlist.out" file exist in the DIR?
> I didn't notice it in your directory listing there

It was I have moved it as I continue to have problems with varibles but 
only in functions and for loops. Everything works fine from the command 
line but not from within loops or functions??




--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019