delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/12/08:32:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A87E58B.6A2C3DB7@yahoo.com>
Date: Mon, 12 Feb 2001 08:30:51 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: Matthew Smith <matts AT bluesguitar DOT org>
Subject: Re: dos/unix utilities
References: <F38Vc4Iu1B6gVs1tIzm00010695 AT hotmail DOT com> <013001c09475$5a80f860$3c5350d8 AT bluesguitar DOT org> <20010211170532 DOT B14860 AT redhat DOT com>

Christopher Faylor wrote:
> 
> On Sun, Feb 11, 2001 at 03:55:31PM -0600, Matthew Smith wrote:
> >> I have found the utilities extremely useful, in order to emulate
> >processes,
> >> that we run in a Unix environment, under Windows NT. I am running them in
> >a
> >> win98 environment and then, when the process is working, transferring them
> >> to NT. I cannot see why there would be any problems. However, I am having
> >a
> >> problem with "wc" recognising that certain directories/files exist when
> >> using wildcards for non 8.3 form file names..
> >>
> >> For example:
> >> wc -l \postbox\ctm\ctm*.*      fails (with a ENOENT error msg)
> >> wc -l \postbox\ctm\ctm040701   works fine however
> >
> >Output of cygcheck -srv would be appreciated.  Also, you neglect to say what
> >environment this is failing under.  Are you trying this command from bash?
> >cmd.exe?  You need to give us more info.
> 
> You can't use wildcards with Windows filespecs.  

Huh?  I can use wc -l /tmp/st*.* just fine in a COMMAND window. 
However, I can't use wc -l \tmp\st*.*.  Oh, I get it now, that's what
you were saying.

> Cygwin is a UNIX emulation, remember?
> 
> Try "wc -l /postbox/ctm/ctm*.*".
> 

True, the '\' is what Chris is in reference to.  You must use '/'.

Earnie.

P.S.: Sorry, Chris.  I was confused at first by your answer.  So, I
decided to post anyway.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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