Re: Strange issue with `find' command

2014-08-03 Thread Rodolfo Medina
Dom writes: > On 02/08/14 09:20, Tixy wrote: >> On Sat, 2014-08-02 at 08:56 +0100, Dom wrote: >> [...] >>> >>> find . -name *.pdf >>> >>> will expand out to >>> >>> find . -name test1.pdf test2.pdf >>> >>> and there you get your error. But >>> >>> find . -name "test1.pdf" >>> >>> will

Re: Strange issue with `find' command

2014-08-02 Thread Dom
On 02/08/14 09:20, Tixy wrote: On Sat, 2014-08-02 at 08:56 +0100, Dom wrote: [...] find . -name *.pdf will expand out to find . -name test1.pdf test2.pdf and there you get your error. But find . -name "test1.pdf" will remain unchanged as the shell won't try and expand the quote

Re: Strange issue with `find' command

2014-08-02 Thread Tixy
On Sat, 2014-08-02 at 08:56 +0100, Dom wrote: [...] > >find . -name *.pdf > > will expand out to > >find . -name test1.pdf test2.pdf > > and there you get your error. But > >find . -name "test1.pdf" > > will remain unchanged as the shell won't try and expand the quoted values. I

Re: Strange issue with `find' command

2014-08-02 Thread Dom
On 02/08/14 08:41, Rodolfo Medina wrote: Searching in internet, I've found the solution but not te explanation of the following error message: find: paths must precede expression: that the `find' command sometimes produces and sometimes not when used with the `*' character, e.g. to search for