-----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 e...@byu.net -----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-----