Many thanks to Kendall, Patrick, and Ronald. I worked at SGI for 15 years and have been away from things like the marvelous world of grep for the past 9. At present I am slooooowly getting back into processing text files and while I've had a copy of bbedit for some time, I am only recently coming up to speed with some of the power it affords that I used to (sort of) get by with using vi and a scant bit of perl and shell scripts.
In answer to Ronald's question of how would I do this in vi, looking back at some of my previous utility scripts, I cannot find what I thought was in at least one of them that inserted a carriage return at a given point on a line that had other text between it and the beginning-of-line. And now I also am remembering that I never had a great handle on appreciating the differences - depending on the flavor of dumb-text editor (or a powerhouse like bbedit) and different OS's one uses - between \r line break (carriage return) \n Unix line break (line feed) \f page break (form feed) I note at the end of the "Searching with Grep" section of the online help manual that O'Reilly & Associates' "Mastering Regular Expressions," is recommended. Is there anything that any of you think is superior to this as a comprehensive reference for grep and regular expressions? Thanks again for your time and help! Dave -- 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
