On Wed, Jan 19, 2011 at 02:26:09PM -0600, Christopher Stone wrote:
> Actually not.  Run this from the Terminal, and you'll see why:
> 
>  find /Applications/ -name "*.app"
> 
> For my purposes I wanted to be able to do this from 'find' in the
> Terminal, but its regular expression syntax is not sophisticated enough.

Oh, in that case, you could pipe the output through grep:

find /Applications/ -name "*.app" | grep -v -E '.*\.app.*\.app'


But I think what you really want is -prune:

find . -name "*.app" -prune

:)

Ronald

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to