Quoth Bob Miller, on Thu, 5 May 2005 23:15:37 -0700:

> Sed is a Unix command.  Therefore it follows Unix line end
> conventions.  If it didn't, it would be broken, and many scripts that
> rely on its correct behavior would also be broken.  I don't see why

I understand the unix line convention.  Yet some commands handle
"carriage return" chars for convenience, and that can be a good thing. 
(I wonder if a command line switch for this in sed would be considered
offensive.)  Granted, if there's some utility in processing ^M
characters specially, then precision is better.  But then, I suppose the
"$" syntax cannot be used with Mac files at all, since it's based
strictly on the newline character, vrai?

I also ack that M$ newlines are borked, but I find them inescapable.

--Jason V. C.

--
Stamp out intolerance!
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to