m4-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AW: use m4 as a replacement for sed


From: Eric Blake
Subject: Re: AW: use m4 as a replacement for sed
Date: Fri, 15 May 2009 06:24:35 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666

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

According to Gerhard Lausser on 5/13/2009 8:44 AM:
> Hi,
> 
> somebody gave me a hint:
> 
> define service {
>     register               0
>     name                   `app_mssql_'DBSRV
>     host_name              HOSTNAME
> } 
> 
> Thanks anyway for reading my mail :-)

Sorry for not replying sooner.  Yes, you found the solution - if you want
something to be recognized as a macro name, but it is adjacent to other
alphanumeric text, then the use of quoting is the proper way to separate
things to make it obvious that you intended to start a new macro-name
token at the point of the close-quote.  It is also common to see empty
quotes, in case app_mssql_ is desired to be a macro name:

name   app_mssql_`'DBSRV

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoNXwMACgkQ84KuGfSFAYB2lACeMhBWLCKDk1S2zzQLbYm5aN+9
IkQAoJTpOYHi2j9knB1KB6/myIbEBgf3
=HMju
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]