On Jan 19, 2011, at 01:10, Marek Stepanek wrote: > Did I oversaw something? This looks little bit like an overkill. Would > it not be sufficient, to search for an and of line with grep: ______________________________________________________________________
Hey Marek, 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. However I can use either BBEdit or the Satimage.osax to clean up the output. (Eventually I'll know enough Perl to be able avoid using multiple tools.) I also am trying to expand my knowledge of the more sophisticated functions of PCRE. > Sorry I misunderstood the original posting. > The answer of Ronald is as ever ingenious. Well said. :) -- Chris -- 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>