replacement for ident(1)

Dan Langille dan at
Thu Feb 25 13:20:05 UTC 2021

Post git, what do we use instead of ident(1)?


     ident -- identify RCS keyword string in files

Example, pertinent to my use case:

$ ident security/vuxml/vuln.xml
     $FreeBSD: head/security/vuxml/vuln.xml 566520 2021-02-25 02:33:12Z philip $

Here is the 15-year old code which uses it:

Those four bits of information are used here:


The last vuln.xml file processed by FreshPorts is:

Revision:  566519
Date:      2021-02-25
Time:      02:33:09Z
Committer: philip

I could extract this separately during each commit of security/vuxml but wanted to check if there was another way first.

Thank you.

  Dan Langille
  dan at

More information about the freebsd-git mailing list