sed on solaris is broken or does not seem to work the way other sed's work. For instance in computing the gcc major version in gnustep-make

`${CC} -dumpversion | sed "s/\(^[[^0-9]]*\)\([[0-9]][[0-9]]*\)\([[^0-9]].*\)/\2/"

Solaris doesn't like the initial '^' (matches the beginning of the line) and so the output isn't changed at all. Just removing this fixes the problem. I don't really know a lot about this, but it doesn't seem to really be necessary anyway. Am I missing something or can I just remove this?


-- Adam Fedor, Digital Optics Corp. | I'm glad I hate spinach, because http://www.doc.com | if I didn't, I'd eat it, and you | know how I hate the stuff.



_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to