[Top][All Lists]

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

[bug #51711] non-helping error output with find

From: Assaf Gordon
Subject: [bug #51711] non-helping error output with find
Date: Wed, 16 Aug 2017 16:20:33 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36

Follow-up Comment #3, bug #51711 (project findutils):

Hello all,

Since this type of erroneous usage is so common (forgetting to quote the shell
glob pattern), perhaps it's worth detecting this case and giving a specific

See the attached (mostly untested) patch, which gives:

  $ touch a.txt b.txt c.txt
  $ find -name *.txt
  find: paths must precede expression: `b.txt'
  find: possible unquoted pattern after predicate `-name'?

 - assaf

(file #41546)

Additional Item Attachment:

File name: 0001-find-give-helpful-hint-for-unquoted-patterns-errors.patch
Size:1 KB


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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