0

Sometimes I see dates enclosed in between two $ (dollar) signs, eg. $Date: 2018/11/11 10:05:10 $ or $Date: Tuesday 06 April 2004 - 14:10:05$.

I've seen this mostly on personal homepages, most probably written in some markup language and then exported to HTML, and once in a PDF document. The HTML source code did not have any relevant meta tag (such as generator) and websearch is not very good when it comes to special characters, so...

My question is which software produces this output.

1 Answer 1

5

These are RCS keywords, also used by CVS and other version control software:

$ echo '$Id$' >> foo
$ ci foo
foo,v  <--  foo
enter description, terminated with single '.' or end of file:
NOTE: This is NOT the log message!
>> initial commit
>> .
initial revision: 1.1
done
$ co -kkv foo
foo,v  -->  foo
revision 1.1
done
$ cat foo
$Id: foo,v 1.1 2022/08/08 22:52:40 jhqdoe Exp $

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.