--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/77232728-9b03-48d1-9988-74fc67d37005n%40googlegroups.com.
I just discovered BBEdit.
From a text document that contains n lines, select the first whole line, copy it into a new document, then the next one, until the end of the document (if I have 50 lines, I would have 50 new text files).
I started to explore the possibilities of "grep", with these commands:^.*But I can't get the selection to stop at the end of the line, despite many tries.
Ideally I'd like to be able to save these documents with the content of the line itself as filename, but let's say it's a second step (and I don't even know if it's possible).
... but for some reason, the expression ^.+$ doesn't work:it selects the whole text, not line by line, as I tried from the beginning.