Weird tcsh vs bash behavior

Kirk McElhearn kirklists at wanadoo.fr
Thu Feb 19 06:36:06 PST 2004


When using tcsh, you can do the following:

% ls -al */rsrc 

When in a directory, to find if there are any resource forks. The result
looks like this:

-rw-rw-r--  1 root  admin      11644 26 Nov 20:44 Classic Support UI/rsrc
-rw-rw-r--  1 root  admin      14477 26 Nov 20:44 Classic Support/rsrc
-rw-r--r--  1 root  unknown        0  4 Feb 16:05 Classic Update
Log.txt/rsrc
-rw-rw-r--  1 root  admin     789387 26 Nov 20:44 Classic/rsrc
-rw-rw-rw-  1 kirk  unknown        0  8 Feb  2003 Clipboard/rsrc

But running the same command while in bash doesn't work - is there something
I'm missing? Does bash not see the /rsrc files? Or is it something to do
with the way it globs?
 
 
Kirk
 
        My latest book: How to Do Everything with Mac OS X Panther
                  http://www.mcelhearn.com/htde.html
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
 . . . . . . .  kirk at mcelhearn.com | http://www.mcelhearn.com  . . . . . .
 . .  Kirk McElhearn | Chemin de la Lauze | 05600 Guillestre | France  . .



More information about the X-Unix mailing list