On 20 Apr 2006, at 19:44 , Rich Siegel wrote:
On 4/20/06 at 9:39 PM, Timothy Driscoll <[EMAIL PROTECTED]> wrote:
sorry. I should have said: I am still working in BBEdit 7.1.3.
Upgrade, then use a text factory? ;-)
Heh.
I think this should be scriptable though, isn't line ending one of
the flags for save?
However, I would thing the best solution would be to use tr from the
command line to replace any Mac EOLs with Unix EOLs:
tr \r \n < file.mac.txt > file.unix.txt
you can also use perl:
perl -pi -e 's/\r/\n/g' <filename>
which is technically a bit slower as I recall, but has the advantage
of replacing in place.
--
...gentlemen in England now a-bed Shall think themselves accursed
they were not here,
--
------------------------------------------------------------------
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]>