Warning: Undefined variable $HTTP_USER_AGENT in /var/www/vhosts/basil/kbsite/blog/wp-content/themes/redesign/image_switcher.php on line 3
Kevin Basil

Sure, evolution as such is not to be found in the book containing what God gave Moses as an explanation of origins suitable for illiterate nomads. No, and beer is not mentioned in the Bible either, though man has been making it for about twelve centuries.
Bishop Tikhon of San Francisco, Los Angeles and the West

«— Vatican Again Defends Scientific Description of Creation
—» US Scientist: OK with Killing Embryos, Not OK with Personal Profit from Research

Converting Text Files

Link to this post  


Warning: Undefined property: linknotes::$are_links in /var/www/vhosts/basil/kbsite/blog/wp-content/plugins/linknotes.php on line 73
Share with your friends and followers:
Share

How do I convert between Unix and Mac OS text files?

I’m mostly blogging this so I can remember where to find this stuff in the future. Thanks to lsald on ##mac (irc.freenode.net) for pointing it out.

If you open a file saved in TextEdit.app in a command-line text editor like vi, the line feed characters are all wrong. The file ends up as one huge line with a bunch of blue “^M” characters. The link above gives several command-line options for switching the offending characters out for Unix-style line feeds (and back again, if you were silly enough to want that).

Share with your friends and followers:
Share
Share

Filed under: — Basil @ 1:05 pm