Shridhar Daithankar forced the electrons to say:
> [shridhar@neptune shridhar]$ cd Gold
> [shridhar@neptune Gold]$ ls -al
> total 23
> drwxrwxr-x 4 shridhar shridhar 1024 Jun 12 12:04 .
> drwx------ 5 shridhar shridhar 1024 Jun 8 10:44 ..
> drwxr-xr-x 2 shridhar shridhar 19456 Jun 12 12:03 cbls
> drwxr-xr-x 24 shridhar shridhar 1024 Jun 12 12:24 others
> [shridhar@neptune Gold]$ ls -R *.cbl
> ls: *.cbl: No such file or directory
That is because the shell wildcard expands *.cbl, and since there are no such
files in the current directory, the expansion fails. So, shell passes the
string *.cbl to ls, which tries to open a directory called *.cbl, which does
not exist.
The fix in bash is to set allow_null_glob_expansion to true in your .profile or
whatever.
Binand
--
The prompt for all occasions:
export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> "
--------------- Binand Raj S. ([EMAIL PROTECTED])
-----------------------------------------------------------------------
The LIH mailing list archives are available at:
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help