This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fw: problem with ls and similar commands in tcsh


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@cs.nyu.edu>
> To: "mike parks" <mwparks@worldnet.att.net>
> Cc: <cygwin@cygwin.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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]