|
From: | Paolo Bonzini |
Subject: | Re: automake-1.11.1 test failure on Mac OS X 10.6 |
Date: | Sat, 16 Jan 2010 13:51:25 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0 |
On 01/16/201
Here's what I want to know: 1). What sed (vendor, version) does Mac OS X/Darwin use? *BSD or just really old GNU?
BSD.
2). Is it "\r" or "\\r" that is really undefined? I was never sure if "\\" was supposed to be undefined in POSIX (e.g. gnused --posix) or not. Hmmm, latest sed.info (4.2.1) says this: Note that the only C-like backslash sequences that you can portably assume to be interpreted are `\n' and `\\' Somebody should probably ask Paolo Bonzini. I'll cc him. :-)
"\r" _is_ undefined, it can be "r" or "CR". "\\r" is not undefined, since it is parsed as "\\" followed by "r".
Even "\n" is undefined on the RHS of the s command. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |