gcc 3.3 and multi line constants

Steven Michalske michalsc at email.uc.edu
Sat May 31 17:02:07 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 31 May 2003 4:54 pm, Terry Chan wrote:
Terry thankyou for correcting the $

but as for the case of crystality plugin it is correct. adding the \n\  it 
adds a c newline and a line continuation char.

hardkrash

TC> hardkrash,
TC>
TC> You need to check your reg-exp manual.  I'm not sure what
TC> you're trying to do with:
TC>
TC> sed -e "28,49 s:\$:\\\n\\\:g"
TC>
TC>
TC> But I don't think it really does anything useful.
TC>
TC>
TC> Your sed is searching for a literal "$".  Do you really want that
TC> or do you want to find the end of a line?  If you want end of
TC> a line then you want s/$/  not s:\$:.
TC>
TC>
TC> Also your replace string is a literal "\" "n" "\".  Don't you really
TC> want to add a "\n" char followed by a "\" ?
TC>
TC> Terry Chan
TC>
TC> _______________________________________________
TC> Lunar-dev mailing list
TC> Lunar-dev at lunar-linux.org
TC> http://lunar-linux.org/mailman/listinfo/lunar-dev
TC>
TC>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+2UKCJhwOdxS4dYERAn2wAJ9xs3c1Xrr3weB5Iylhf9OMPtQlfgCgjIai
i7Nmi9FKqToM8vvvx4wHtLo=
=tZHk
-----END PGP SIGNATURE-----



More information about the Lunar-dev mailing list