On Mon, Jul 29, 2013 at 05:00:47PM -0700, Rick Gordon wrote:
> Wouldn't that change multiple returns to a single return, as well, though?
> 

No, because the script processes one line at a time.

Ronald


> On 7/30/13 at 12:28 AM +0100, John Delacour wrote in a message entitled
> "Re: Searching for files of a particular line break type":
> 
> >On 29/7/13 at 21:06, [email protected] (Robert A. Rosenberg) wrote:
> >
> >> One warning. If you want to change CR to LF (as in this suggestion),
> >> you have to watch out for the CR+LF Line ending since just changing CR
> >> to LF will make this LF+LF.
> >
> >This will change _any_ line ending to \n :
> >
> >perl -pi.bak -e "s~[\r\n]+~\n~g" *

-- 
This is the BBEdit Talk public discussion group. 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>

--- 
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 [email protected].
To post to this group, send email to [email protected].


Reply via email to