I've got a GREP problem I can't seem to wrap my head around.

I have a text file in which a number of file names are listed like this:

foo1.jpg
foo2.jpg
foo3.jpg
foo4.jpg
foo5.jpg
etc.

I'd like to end up with a file like this:

foo1.jpg foo2.jpg foo3.jpg
foo2.jpg foo3.jpg foo4.jpg
foo3.jpg foo4.jpg foo5.jpg
etc.

Any suggestions?

Thanks!

--Dominick




-- 
------------------------------------------------------------------
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