Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Dec 2002 16:47:20 -0500
From:      parv <parv_fm@emailgroups.net>
To:        Bill Moran <bill_moran2@hotmail.com>
Cc:        shantanoo+fbsd@ieee.org, freebsd-questions@freebsd.org
Subject:   Re: Argument list too long: limitation in grep? bash? FreeBSD?
Message-ID:  <20021225214719.GA7002@moo.holy.cow>
In-Reply-To: <F31py6Dfqq5k6J4CDvn000151c5@hotmail.com>
References:  <F31py6Dfqq5k6J4CDvn000151c5@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <F31py6Dfqq5k6J4CDvn000151c5@hotmail.com>,
wrote Bill Moran thusly...
>
> >From: Shantanu Mahajan <shantanoo+fbsd@ieee.org>
> the wildcard, thus the limit doesn't affect the command.
> 
> >or maybe you can use "locate"
> 
> Hadn't thought to try that, although I don't know how it would
> work.

RTFM? locate(1)?

given a path name, it lists the file matching that pattern.  man
page state that it takes a "pattern".  in practice i find its
capabilities are rather restricted; using e?grep is much better...

  locate foo | grep 'foo$'


  - parv

-- 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021225214719.GA7002>