On Wed, 15 Mar 2017 10:24:27 -0600, the...@sys-concept.com wrote:

> > The wildcard is being expanded by your shell, so the command you are
> > actually running is 
> > 
> > locate consent_extraction1.pdf
> > 
> > If you want to pass the * to locate, you need to escape or quote it.  
> 
> locate consent_extraction\*  - didn't find anything
> locate "consent_extraction*" - didn't find anything
> 
> locate "*consent_extraction*" - found both files
> locate *consent_extraction* - found both files

Or you could simply use 

locate consent_extraction

because a substring match is the default behaviour.


-- 
Neil Bothwick

Q-Tip: When an omnipotent alien gives you advice.

Attachment: pgp1HPGKsj5iu.pgp
Description: OpenPGP digital signature

Reply via email to