bug-findutils
[Top][All Lists]
Advanced

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

[bug #13098] find complains that 'paths must precede expression' even wh


From: anonymous
Subject: [bug #13098] find complains that 'paths must precede expression' even when they do
Date: Mon, 16 May 2005 16:46:35 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13098>

                 Summary: find complains that 'paths must precede expression'
even when they do
                 Project: findutils
            Submitted by: None
            Submitted on: Mon 05/16/2005 at 16:46
                Category: find
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Jesper Juhl
        Originator Email: address@hidden
             Open/Closed: Open
                 Release: None
           Fixed Release: None

    _______________________________________________________

Details:

I often run into find complaining about  paths must precede expression  even
if the path(s) to search are indeed listed first.

This might be a user error on my part or a bug in find, I'm not sure, but
this seems wrong :

address@hidden:~/download/kernel$ cat /etc/slackware-version
Slackware 10.1.0
address@hidden:~/download/kernel$ uname -a
Linux dragon 2.6.12-rc4-mm2 #2 Mon May 16 18:14:13 CEST 2005 i686 unknown
unknown GNU/Linux
address@hidden:~/download/kernel$ find --version
GNU find version 4.1.7
address@hidden:~/download/kernel$ pwd
/home/juhl/download/kernel
address@hidden:~/download/kernel$ ls -l -d patches-2.6.12-rc4*
drwxr-xr-x  2 juhl users 128 2005-05-15 00:52 patches-2.6.12-rc4
drwxr-xr-x  2 juhl users  88 2005-05-15 11:41 patches-2.6.12-rc4-mm1
address@hidden:~/download/kernel$ find ./patches-2.6.12-rc4* -name *s*
find: paths must precede expression
Usage: find [path...] [expression]
address@hidden:~/download/kernel$

I clearly list the directories to search as the first argument, but still
find complains.





    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
jesper --DOT-- juhl --AT-- gmail --DOT-- com | Originator Email




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13098>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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