Hi

On Mon, 12 Jun 2000, Binand Raj S. wrote:
> 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.

Fine enough, it did produce the output but it was same as 'ls -R'

[shridhar@neptune shridhar]$  allow_null_glob_expansion=true
[shridhar@neptune shridhar]$  export allow_null_glob_expansion
[shridhar@neptune shridhar]$ ls -R *.cbl|more

The output produced was same as 'ls -R'. Did I do anything wrong?

 Bye
  Shridhar


-----------------------------------------------------------------------
For more information on the LIH mailing list see:
http://lists.linux-india.org/lists/LIH

Reply via email to