1
This happens in cygwin (CYGWIN_NT-5.1 MYPC 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin)
First command, ls *.py
shows nothing
$ ls *.py
ls: cannot access *.py: No such file or directory
First command, ls *.py
runs in the same location, shows the following
$ ls *py
LICENSE.txt _cpchecker.pyc _cperror.pyc _cpserver.py _cptree.pyc favicon.ico
__init__.py _cpconfig.py _cplogging.py _cpserver.pyc _cpwsgi.py lib
__init__.pyc _cpconfig.pyc _cplogging.pyc _cpthreadinglocal.py _cpwsgi.pyc process
_cpcgifs.py _cpdispatch.py _cpmodpy.py _cptools.py _cpwsgi_server.py scaffold
_cpcgifs.pyc _cpdispatch.pyc _cprequest.py _cptools.pyc _cpwsgi_server.pyc wsgiserver
_cpchecker.py _cperror.py _cprequest.pyc _cptree.py cherryd
These are files in a subdirectory cherrypy
I did not alias ls
in any way (running /usr/bin/ls
gives the same results)
So, the question, why the difference? I do not expect ls
to run recursively without the -R
flag