How to escape '$' in scripts?
| From: | Joseph Stein | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | How to escape '$' in scripts? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-35970@lists.php.net to get a copy of this message | ||
I have a dilemma.
I have recently started using CVS to maintain my website, and am using
some CVS tags ($Id$, etc) and they show up as follows:
<!--
Author: : joes $
Revision date: : 2001/01/10 21:10:10 $
ID: : index.php,v 1.3 2001/01/10 21:10:10 joes Exp $
Log Entry:
: index.php,v $
-->
those spare ':' should look like this:
Author: $Author: joes $
Revision date: $Date: 2001/01/10 21:10:10 $
ID: $Id: index.php,v 1.3 2001/01/10 21:10:10 joes Exp $
Log Entry:
$Log: index.php,v $
Any ideas how to get those tags escaped?
TIA,
joe