Shridhar Daithankar forced the electrons to say:
> 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?

Well, this worked for me. Check this typescript file:

Script started on Tue Jun 13 19:46:42 2000
binand@jediland[~] mkdir test
binand@jediland[~] cd test
binand@jediland[~/test] ls -R *
ls: *: No such file or directory
binand@jediland[~/test] allow_null_glob_expansion=true
binand@jediland[~/test] ls -R *
.:
binand@jediland[~/test] exit

Script done on Tue Jun 13 19:47:05 2000

Are you using bash2 instead of bash? In bash2, it is

shopt -s nullglob

Or maybe you shouldn't export the variable.

Binand

-- 
The prompt for all occasions:
export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> "
--------------- Binand Raj S. ([EMAIL PROTECTED])


-----------------------------------------------------------------------
For information on this and other Linux India mailing lists check out
http://lists.linux-india.org/

Reply via email to