Re: Fixing line endings
Re: Fixing line endings
- Subject: Re: Fixing line endings
- From: Peter Schart <email@hidden>
- Date: Fri, 30 Mar 2007 14:18:32 -0500
Sounds like a quick job for perl to me:
perl -ne 's/\r\n/\n/g; s/\r/\n/g; print;' < {yourfile} > {newfile}
Or just a *bit* quicker (that's what perl's all about, right? ;) of a
job:
perl -ne 's/\r\n?/\n/g; print;' < {yourfile} > {newfile}
pete
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden