On 5/5/05, Jason Van Cleve <[EMAIL PROTECTED]> wrote:

> 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.) 
Probably but you could ask the gnu folks.

> 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?
actually it's worse than that with OSX files produced on a Mac may or
may not have unix or (oldschool)Mac line endings... depending on the
program that produced them...

> I also ack that M$ newlines are borked, but I find them inescapable.
really, I find them quite easy to escape, vide.

"""foo
bar
baz
"""

'foo%0Abar%0Abaz%0A' or dos style 'foo%0D%0Abar%0D%0Abaz%0D%0A'

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


-- 
http://Zoneverte.org -- information explained
Do you know what your IT infrastructure does?
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to