bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: --ignore-I


From: Paul Jarc
Subject: Re: --ignore-I
Date: Fri, 06 Dec 2002 16:45:00 -0500
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu)

Daniël Necas-Niessner <daniel@cs.vu.nl> wrote:
> I am using the bash and want to eliminate some results gained by the
> command 'ls' so I used ls -I *set* but it failed! If I do the same
> thing with ls --ignore=*set* it works fine.

This is not a bug.  You need to quote the pattern, or else it will be
expanded by the shell before ls gets a chance to see it.  This is
related to the entries for "I have a file '-f' and it affects rm",
"Why doesn't rm -r *.pattern recurse like it should?", and "ls -a *
does not list dot files" at
<URL:http://www.gnu.org/software/fileutils/doc/faq/core-utils-faq.html>.


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]