Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Mon, 23 Dec 2002 09:41:32 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Al Kelley cc: cygwin AT cygwin DOT com Subject: Re: recent cygwin reinstall yields ls problem In-Reply-To: <3E06F9BD.515544B8@cats.ucsc.edu> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Al, Without a `cygcheck -s -v -r` output attached (as per http://cygwin.com/bugs.html ), the only things that can be offered are wild guesses, so here's one: it looks like you might have a misguided alias. In bash, type $ type -a ls and see if there's anything unusual about it. Also, try redirecting the output of the first ls to the file and examining it for hidden/special characters (or simply pipe the output to 'cat -v'). Igor On Mon, 23 Dec 2002, Al Kelley wrote: > i recently reinstalled cygwin. > now i find that the ls command > does not work in some directories. > > when i give the commands > > cd /usr/local/c > ls > > here is what gets printed on the screen: > > drwxr-xr-x: not found > -rw-r--r--: not found > drwxr-xr-x: not found > drwxr-xr-x: not found > drwxr-xr-x: not found > drwxr-xr-x: not found > -rw-r--r--: not found > -rw-r--r--: not found > -rw-r--r--: not found > -rw-r--r--: not found > -rw-r--r--: not found > -rw-r--r--: not found > -rw-r--r--: not found > -rw-r--r--: not found > -rw-r--r--: not found > -rw-r--r--: not found > -rw-r--r--: not found > -rw-r--r--: not found > -rw-r--r--: not found > -rw-r--r--: not found > -rw-r--r--: not found > -rw-r--r--: not found > > on the other hand, if i give the commands > > cd /usr/local > ls c > > here is what gets printed on the screen: > > READ_ME cout fw lidia optsolve u_lib > ad cr_file g_lib lindo pay unix > alyn decss games loc pcx untab > balance dmy gcal look pgm usno > beeson dos2unix gcd lowercase piper vi_fttl > birthday drip ghostview ls poly volatile > bit_cnt eac ghs_list mac_utils prnf woodchuck > bit_print ecpp gmp mersenne prompt wrk > blade eqp goplot mind_reader rand wrk_gnuplot > buffer errno gp misc reentrant wrk_libI > c_align extract grade mk_cols remove wrk_lidia > c_start factor hamming mktemp shadow wrk_pnp > cal fft_nick harmonic mmf shorten_lines wrong > cdparanoia fftw hello monty sostools wrt_char > cdu file hoc morse_code sys wwrk > chars first_char ieee mpack ticks xnview > class first_word indent nedit time > cman fix_hmwk knuth newline time_it > color fmf libI newton translate > comment fttl libg++ old try_me > > --- > question: > what can i do to get ls to work properly? -- 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! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- 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/