X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=Njtf0bPNPnBjWrZ7ghXEt5nizh8ZtOMsRr+v9EI2IZn
	dSdvyea/GtRE7J6K3XyYYSt9XbVtJ7ZFqGWc95fQkF9z8UYnMUSNMc8Bsz8WAejv
	IBRCEGZdqrLWbAAssGiH5KbsSCs1F3laj+0mCknK2seBNkj1lCKwtpvIFXqfuK4M
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=AocmmbtwcYLN+8uHiEYw9FJ+Sg8=; b=BoIedCq3po1UJ97eM
	/6NF8cvHlPQUxjwOd/qCLK5zZMPQaR3rZ+zf8pGM4+nwGptYfWCWGtxvZZX8kwIY
	7RCAzou1Q2TJXe8JGHPMkNtekTADEye8Zw5w5BO09GYsANRdMZgAHCln6UapMwAv
	YtkjuFKvPbBJPILpyT01TASAwY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: smtp104.biz.mail.ne1.yahoo.com
X-Yahoo-SMTP: ycweUreswBCK.d0cygTP5tXwHncbOU7YVeVfIxOQoyRMI2IuIKLmUqE-
Message-ID: <543D8D84.5050302@molconn.com>
Date: Tue, 14 Oct 2014 16:54:28 -0400
From: LMH <lmh_users-groups@molconn.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: cygwin bash script suddenly can't find ls, grep
References: <5439C59F.5060308@molconn.com> <5439C8A6.5020605@cornell.edu> <5439CB8F.9000708@molconn.com> <m1dedl$mea$1@ger.gmane.org>
In-Reply-To: <m1dedl$mea$1@ger.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Thorsten Kampe wrote:
> * LMH (Sat, 11 Oct 2014 20:30:07 -0400)
>> Good Lord, I guess I wasn't thinking very clearly trying to use
>> PATH as
>> a variable for something else. I changed to,
>>
>> FILE_DIR=$(ls -d './'$SET'/'$FOLD'/'$FOLD'_anneal/'$PARAM_SET'/'$AN_SET)
>> echo $FILE_DIR
>>
>> FILE_LIST=($(ls $FILE_DIR'/'*'out.txt' ))
>> echo ${FILE_LIST[@]}
> 
> That looks pretty ugly. You probably can replace all that with 
> 
> FILE_LIST=(./$SET/$FOLD/$FOLD_anneal/$PARAM_SET/$AN_SET/*out.txt)
> 
> Thorsten
> 
> 
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> 
> 

Thank you for the suggestion. I have mad an additional post in response
to the previous message that addresses your suggestion as well.

LMH

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

