Re: using the 'find' program

2005-09-05 Thread Bob Proulx
Kevin Coyner wrote: > Stephen R Laniel wrote.. > > Bob Proulx wrote: > > > The results you post look like there is a bug in the option > > > processing of find. Note that I also mentioned that this was unlikely and asked about other possibilities such as aliases and wrappers. > > I think the

Re: using the 'find' program

2005-09-05 Thread Kevin Coyner
On Mon, Sep 05, 2005 at 04:42:09PM -0400, Stephen R Laniel wrote.. > On Mon, Sep 05, 2005 at 11:56:52AM -0600, Bob Proulx wrote: > > > find: warning: Unix filenames usually don't contain slashes > > > (though pathnames do). That means that '-iname /tmp' will > > > probably evaluate > [snip]

Re: using the 'find' program

2005-09-05 Thread Stephen R Laniel
On Mon, Sep 05, 2005 at 11:56:52AM -0600, Bob Proulx wrote: > > find: warning: Unix filenames usually don't contain slashes (though > > pathnames do). That means that '-iname /tmp' will probably evaluate [snip] > The results you post look like there is a bug in the option processing > of find. I

Re: using the 'find' program

2005-09-05 Thread Bob Proulx
Kevin Coyner wrote: > I've been using linux for quite a while but am still perplexed by > the proper usage of the 'find' program. I always end up using > locate instead. Anyway, I need it now so I re-read the man and > tried the following: > > cd /tmp > touch testfile > find . -iname

Re: using the 'find' program

2005-09-05 Thread Bob Proulx
Angelo Bertolli wrote: > Stephen R Laniel wrote: > > Incidentally, I think '-print' is superfluous; I'm pretty > > sure the default is to print. > > Yes, I think so too, but I do recall being on some UNIX's where this was > not the case. The classic legacy find from AT&T UNIX V7 did not default t

Re: using the 'find' program

2005-09-05 Thread Angelo Bertolli
Stephen R Laniel wrote: (09:16) [EMAIL PROTECTED]:/tmp$ find . -iname testfile ./testfile It should work fine on your end, too. See below; I think you did something incorrectly. Incidentally, I think '-print' is superfluous; I'm pretty sure the default is to print. Yes, I think so too, bu

Re: using the 'find' program

2005-09-05 Thread Michael Marsh
On 9/5/05, Kevin Coyner <[EMAIL PROTECTED]> wrote: > I've been using linux for quite a while but am still perplexed by > the proper usage of the 'find' program. I always end up using > locate instead. Anyway, I need it now so I re-read the man and > tried the following: > > cd /tmp > tou

Re: using the 'find' program

2005-09-05 Thread Alvin Oga
hi ya On Mon, 5 Sep 2005, Stephen R Laniel wrote: > On Mon, Sep 05, 2005 at 09:12:41AM -0400, Kevin Coyner wrote: > > cd /tmp > > touch testfile > > find . -iname testfile -print > > > > and I get nothing. find --version GNU find version 4.2.24 ls -la > /tmp/ls.txt find /

using the 'find' program

2005-09-05 Thread Kevin Coyner
I've been using linux for quite a while but am still perplexed by the proper usage of the 'find' program. I always end up using locate instead. Anyway, I need it now so I re-read the man and tried the following: cd /tmp touch testfile find . -iname testfile -print and I get nothing

Re: using the 'find' program

2005-09-05 Thread Stephen R Laniel
On Mon, Sep 05, 2005 at 09:12:41AM -0400, Kevin Coyner wrote: > cd /tmp > touch testfile > find . -iname testfile -print > > and I get nothing. On my end that works perfectly. You do, indeed, have the syntax right. Here's what I get: (09:16) [EMAIL PROTECTED]:~$ cd /tmp (09:16) [EMAI