Subject: Escape Character...
To: None <>
From: Yosep <yoskim@NMSU.Edu>
List: tech-pkg
Date: 06/30/2003 15:23:35

I have the following code in my Makefile

my_RCS_ID=	$NetBSD$


	${SED} -e 's:@PREFIX@:${my_RCS_ID}:' \
                ${WRKSRC}/ > ${WRKSRC}/

However, this code doesn't work right, because my_RCS_ID variable contains
something that starts out with a $ sign.  So, at the end, in place of
@PREFIX@, would have "etBSD" or something bizarre.

How can I fix this problem, so that I can have "$NetBSD" in place of
"@PREFIX"?  Any would be greatly appreciated.


   |\/\/|   |  Yosep Kim
   |,,,,|   |  NMSU Computer Lab Assistant
   |    |   |  Computer Science, B.S.
  [|^  ^|]  |  New Mexico State Unversity
    \__/    |
 PHIL 4:13