I'd like to include Perforce's $Revision$ keyword in my LaTeX document.  However, the presence of # seems to mess thing up.  For example, if you have something like this:
\cfoot{$Revision: #8 $}
you end up with an error like "Illegal parameter number in definition of \temp@a".  I did some searching and found packages (such as the LaTeX rcs package) that handle other keywords (such as Date) but nothing that appeared to handle the #.