BK-KEYWORDS(1)

πŸ“¦ version 7.3.3, in alpine 3.24

πŸ’– NAME πŸ’–

bk keywords β€” list of RCS and SCCS keywords.

That’s the whole NAME-section vibe, bestie. This is the page from the BitKeeper User’s Manual, and the header shows bk keywords(none) up top. It’s literally the keyword encyclopedia: SCCS keywords, RCS keywords, and the BitKeeper-only ones too. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

BitKeeper supports both the standard SCCS keywords and most of the RCS keywords. On top of that, there are several keywords that are unique to BitKeeper. Slay.

Heads up: all of the revision-oriented keywords (e.g. %I%) are useless in BitKeeper, since they may change as a result of a re-synchronization that causes a branch creation. Use the %K% keyword when you need an identifier that is unique to a specific revision-level of a file. %K% is useful when tracking customer bugs. For example, a technician might ask the end-user to run the what command on an executable to check the versions of the components that make up a program. The person doing troubleshooting can then use the %K% keyword to track down the specific source files that make up the executable. πŸ”₯
Another heads up: SCCS keyword expansion can cause problems in printf-like strings. To deal with unwanted keyword expansion, BitKeeper can be given options to expand only the first keyword found. See bk help admin.

πŸ’… SCCS KEYWORDS πŸ’…

Okay, here’s the full SCCS keyword lineup β€” every keyword and every example value, no skipping, no cap. ✨

  • %A% β€” shorthand notation for an ID line with data for what(1). The expansion looks like:
%Z% %M% %I%%Z% @(#) GET 1.1@(#)
  • %B% β€” SID branch component. Example value: 0.
  • %D% β€” current date: yyyy/mm/dd. Example value: 1991/04/13.
  • %E% β€” date the newest applied delta was created. Example value: 1991/04/13.
  • %F% β€” SCCS s.file name. Example value: SCCS/s.GET.
  • %G% β€” date the newest applied delta was created: mm/dd/yyyy. Example value: 4/13/1991.
  • %H% β€” current date: mm/dd/yyyy. Example value: 4/13/1991.
  • %I% β€” SID of the retrieved version: %R%.%L%.%B%.%S%. Example: 1.1 or 1.1.0.0 if fully specified as shown in the previous line.
  • %K% β€” key for the delta (these do not change):
lm@va.bitkeeper.com|src/bkhelp.txt|19991116191217|50766
  • %L% β€” SID level component. Example value: 1.
  • %M% β€” module name: either the value of the m flag in the s.file, or the name of the s.file less the prefix.
  • %P% β€” fully qualified s.file name. Example value: /u/lm/SCCS/s.GET.
  • %R% β€” SID Release component. Example value: 1.
  • %S% β€” SID Sequence component. Example value: 0.
  • %T% β€” current time: hh:mm:ss. Example value: 12:41:29.
  • %U% β€” time the newest applied delta was created: hh:mm:ss. Example value: 12:41:29.
  • %W% β€” shorthand notation for an ID line with data for what. The expansion looks like:
%Z%%M% %I%     @(#)GET                  1.1
  • %Y% β€” SCCS Compatible, not expanded in BitKeeper. So it just sits there, iconic but unexpanded. 🫢
  • %Z% β€” 4-character string recognized by what. Example value: @(#).
  • %@% β€” user@host.
  • %#% β€” user.

πŸŽ€ RCS KEYWORDS πŸŽ€

The following is the subset of RCS keywords that BitKeeper supports. The RCS keywords are only expanded if the RCS flag is turned on. See bk help admin. 🌸

  • $Revision$ β€” expands like $Revision: 1.2 $.
  • $Id$ β€” expands like $Id: s.rcs_expand.c 1.2 99/11/16 11:25:18‐08:00 lm@r.com $.
  • $Author$ β€” expands like $Author: lm@r.com $.
  • $Date$ β€” expands like $Date: 99/11/16 11:25:18‐08:00 $.
  • $Header$ β€” expands like $Header: SCCS/s.rcs_expand.c 1.2 99/11/16 11:25:18‐08:00 lm@r.com $.
  • $RCSfile$ β€” expands like $RCSfile: s.rcs_expand.c $.
  • $Source$ β€” expands like $Source: /tmp/beta11/src/SCCS/s.rcs_expand.c $.

πŸ”₯ SEE ALSO πŸ”₯

bk-admin, bk-config-etc, bk-get

🌈 CATEGORY 🌈

Overview


Footer tea, periodt: source BitKeeper Inc, version 1E1 β€” and the footer doesn’t show a date, so I’m not inventing one, bestie. Mystery date stays mysterious. πŸ’…βœ¨

πŸ“¦ where this page comes from
  • alpine 3.24: bitkeeper-doc 7.3.3-r1 Β· Apache-2.0
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms