[OS X TeX] Search and replace in many files
herbs at wideopenwest.com
Tue Sep 4 09:26:05 EDT 2012
On Sep 4, 2012, at 8:17 AM, Peter Dyballa <Peter_Dyballa at Web.DE> wrote:
> Am 04.09.2012 um 02:15 schrieb Alain Schremmer:
>> The TeXShop preference is set at old-fashioned Western (Mac OS Roman) but, as noted, \r does not work.
> Mac OS Roman is an encoding for characters. Neither CARRIAGE RETURN (\r) nor LINE FEED (\n) are characters. In other words: The Mac OS Roman character encoding does not imply any regulation on line endings.
The standard line ending for Mac OS Roman is \r, The standard line ending for *nix is \n and the standard line ending for MS is \r\n. Searches for line endings often use \n to represent whatever the line ending is for that kind of file rather than the more proper combination.
(herbs at wideopenwest dot com)
More information about the MacOSX-TeX