bug-findutils
[Top][All Lists]
Advanced

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

Re: BUG: path isn't absent; path begin with character '!'


From: James Youngman
Subject: Re: BUG: path isn't absent; path begin with character '!'
Date: Fri, 10 Oct 2003 09:00:06 +0100
User-agent: Mutt/1.3.28i

On Fri, Oct 10, 2003 at 11:35:48AM +0400, Nikolay B. Malyshev wrote:
> Priority: High
> ==============
> 
> libox{mal}51: setenv LC_ALL C
> libox{mal}52: find --help
> Usage: find [path...] [expression]
> default path is the current directory; default expression is -print
>  . . .
> 
> libox{mal}55: find \!new_dir
> find: invalid predicate `!new_dir'

I don't think this is a real bug in the usual sense of the word.  "!"
does indeed behave as a predicate.   There is an easy workaround :-


address@hidden:~/tst$ mkdir \!newdir/foo
address@hidden:~/tst$ ls -l
total 4
drwxr-xr-x    3 jay      users        4096 Oct 10 08:57 !newdir
address@hidden:~/tst$ find \!newdir -print
find: invalid predicate `!newdir'
address@hidden:~/tst$ find ./\!newdir -print
./!newdir
./!newdir/foo


Would you prefer it if the error message suggested the above approach?

(btw: see below for Findutils bug-reporting address)

-- 
James Youngman.
CSSC Bug reporting page:       http://sf.net/tracker/?group_id=8064&atid=108064
GNU Findutils bug reporting page: http://savannah.gnu.org/bugs/?group=findutils




reply via email to

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