delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/14/09:03:18

X-Spam-Check-By: sourceware.org
Message-ID: <45095302.4040603@cc.uoi.gr>
Date: Thu, 14 Sep 2006 16:02:58 +0300
From: "Nikolaos A. Patsopoulos" <npatsop AT cc DOT uoi DOT gr>
User-Agent: Thunderbird 1.5.0.5 (Windows/20060719)
MIME-Version: 1.0
To: Eric Blake <ebb9 AT byu DOT net>
Cc: cygwin AT cygwin DOT com
Subject: Re: add folder name to filename
References: <450949CF DOT 5050306 AT cc DOT uoi DOT gr> <45094B84 DOT 6010009 AT byu DOT net> <45094C90 DOT 3010804 AT cc DOT uoi DOT gr> <45094E89 DOT 8040000 AT byu DOT net>
In-Reply-To: <45094E89.8040000@byu.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> According to Nikolaos A. Patsopoulos on 9/14/2006 6:35 AM:
>
>   
>> I get the same error with my code and yours:
>>     
>
>   
>> Script started, file is typescript
>>     
>
>   
>> nothing happens, except an empty file called typescript in the parent
>> directory
>>     
>
> We actually need to see a reproducible test case, complete with ACTUAL
> error messages from the console, not a description of what happened.
> Otherwise we don't know what went wrong to try to help.
>
> Reread this link:
>   
>> Problem reports:       http://cygwin.com/problems.html
>>     
>
> You could also try 'echo folder*/*' to see what files are being visited in
> the for loop, or even download the bashdb package using setup.exe and use
> the bash debugger to single step through the loop to try to spot your
> error.  But this is working just fine for me, so you will have to try
> harder before I will be convinced that this is a cygwin-specific bug.
>
> - --
> Life is short - so eat dessert first!
>
> Eric Blake             ebb9 AT byu DOT net
> volunteer cygwin bash/bashdb maintainer
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.1 (Cygwin)
> Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFCU6J84KuGfSFAYARAhp/AKCFI9mWV74UxM7IWi+OHmfFPGk08ACcCPkB
> IUrvHBN/xzzYWeL/8pVjV74=
> =ZRwy
> -----END PGP SIGNATURE-----
>
>
>   
Well you were right.............

here is the error message:

folder*/*  #this is the echo command
mv: cannot stat 'folder*/*': No such file or directory

-- 
Nikolaos A. Patsopoulos, MD
Department of Hygiene and Epidemiology
University of Ioannina School of Medicine
University Campus
Ioannina 45110
Greece
Tel: (+30) 26510-97804
mobile: +30 6972882016
Fax: (+30) 26510-97867 (care of Nikolaos A. Patsopoulos)
e-mail: npatsop AT cc DOT uoi DOT gr 


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