Re: AW: use m4 as a replacement for sed

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.m4.general
Message-ID <[email protected]>
-----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             [email protected]
-----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-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.