Duplicate (almost) text in chap 6 vim

Jack Brown jbrown at kmts.ca
Wed Feb 5 11:37:37 PST 2003


On Wed, 05 Feb 2003 13:24:06 -0600, Gerard Beekmans wrote:

> On February 5, 2003 12:22 pm, Jack Brown wrote:
>> you could always just use % or something as your seperator instead,
>> that way you don't have to excape all the "/" as they appear.
> 
> We're not sed'ing:
> 
> make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\"
> 
> We want \" to be passed to gcc. For this to work both \ and " have to be
> escaped. So to escape the \ we must do \\ and to escape the " we do \"
> 
> So net result: \\\"
> 
> It's not pretty I agree.
 
is there some reason that make CPPFLAGS='-DSYS_VIMRC_FILE=\"/etc/vimrc\"'
wouldn't work?

Jack Brown
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list