On Wed, 12 Sep 2007 15:32:12 -0400, "Gary Franks" <[EMAIL PROTECTED]> said: > Anybody know of a way to add a specific line of text to the end of a > couple thousand bbedit documents using a Text Factory? > The docs are of different lengths. The same line of text would be > added to the end of each. I don't know how to use grep or patterns, etc.
Hi Gary The relevant GREP is: \z for end of document \Z for the end of the document, or before a trailing return at the end of the doc, if there is one So if you put \z in Find and whatever text you like in Replace then it will put that text at the end of a document. You can do this for multiple files by simply checking the "Multi-File Search" box at bottom left. Once you've selected folder or folders containing the files BBEdit remembers them handily in that drawer which slides out of the Find/Replace dialogue. -- Patrick -- ------------------------------------------------------------------ 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]>
