IF what you want is a file containing only the lines that match that
pattern, use "Process Lines Containing" from the Text menu.

On 1/21/07 5:48 PM, "Tom Young" <[EMAIL PROTECTED]> wrote:

> i am enjoying playing grep finds in BBedit
> 
> i can envisage using it to re-organise a document I am working on to
> prepare it for insertion into a Filemaker DB
> 
> Right now I'd like to learn a little thing which I don't yet understand
> 
> I can write simple find and replace patterns
> 
> I'm currently looking at a most simple one to pick out special
> numbers from a documents
> 
> search pattern: BS [\d]+
> 
> I've run this in BBedit and finds the strings that I want it to
> 
> Now I want to produce a document with only the results of the
> implemented search
> 
> In Terminal that would seem to be egrep -o "searchpattern" File >
> newFile
> 
> But it doesn't work
> 
> why not?
> 
> Marmot

-- 

Allen Watson  . Writer/Webmaster  [ p.  503 .281 .0250   m.  503 .916 .9411
e.  [EMAIL PROTECTED]
homepage.mac.com/allen_a_watson/



-- 
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to