delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/19/17:46:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sat, 19 Oct 2002 17:46:31 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: mike parks <mwparks AT worldnet DOT att DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: Fw: problem with ls and similar commands in tcsh
In-Reply-To: <005101c277b5$25b94540$4810530c@mike>
Message-ID: <Pine.GSO.4.44.0210191736110.6818-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

Mike,

On Sat, 19 Oct 2002, mike parks wrote:

> igor,
  ^
The two 'Shift' keys are on the second from bottom row of your keyboard.

> ----- Original Message -----
> From: "Igor Pechtchanski" <pechtcha AT cs DOT nyu DOT edu>
> To: "mike parks" <mwparks AT worldnet DOT att DOT net>
> Cc: <cygwin AT cygwin DOT com>
> Sent: Saturday, October 19, 2002 3:30 PM
> Subject: Re: Fw: problem with ls and similar commands in tcsh
>
> > > *** 2) is there anything else i need to do as well to solve this problem?
> >
> > Hard to say.  Are the files you're looking for actually there?  Does 'dir
> > temp*' do what you want?  How about 'cmd /c "dir temp*"'?
>
> the files are there. the ls/dir commands work fine in the default bash
> shell. i get the problem when i try to run in a tcsh.
>
> 'dir temp*' has the same result.

Does 'echo temp*' work?

Compare the environments in bash and tcsh.  Did you try setting CYGWIN?

It also seems that the wildcard is not expanded by tcsh (if it were, your
error message would be 'ls: No match.', not 'ls: temp*: No such file or
directory').  Are you running cygwin's tcsh (run 'which tcsh' to find
out)?

> cmd/c "dir temp*"  gives me this error in both the bash and tcsh shells
>     cmd/c: Command not found

You forgot the space between 'cmd' and '/c'...  However, if ls works in
bash, that's probably not necessary to run, anyway.
	Igor

> many thanks for the help igor!
> mike

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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