gcc 3.3 and multi line constants

Terry Chan tpchan at attbi.com
Sat May 31 18:54:45 GMT 2003


hardkrash,

You need to check your reg-exp manual.  I'm not sure what
you're trying to do with:

sed -e "28,49 s:\$:\\\n\\\:g"


But I don't think it really does anything useful.


Your sed is searching for a literal "$".  Do you really want that
or do you want to find the end of a line?  If you want end of
a line then you want s/$/  not s:\$:.


Also your replace string is a literal "\" "n" "\".  Don't you really
want to add a "\n" char followed by a "\" ?

Terry Chan



More information about the Lunar-dev mailing list