IDENT(1) — NEWS-OS Programmer’s Manual
名称
ident − ファイルを識別する
形式
ident file ...
解説
ident は、指定されたファイル内に現れるパターン $keyword:.....$ を検索します。 keyword は次のうちのいずれかです。
Author
Date
Header
Locker
Log
Revision
Source
State
通常、これらのパターンは RCS コマンド co(1) により 自動的に挿入されますが、自らの手で挿入することも可能です。
ident は、テキストファイルに対しても、オブジェクトファイルに対しても 実行可能です。例えば、ファイル f.c 内の C プログラムが
char rcsid[] = "$SonyId: ident.o,v 4.3500 1994/11/14 15:00:01 root Rel421a+ $";
を含んでいて、コンパイルにより f.o が作成されたとすると、
ident f.c f.o
により、次の出力結果を得ることができます。
f.c:
$SonyId: ident.o,v 4.3500 1994/11/14 15:00:01 root Rel421a+ $
f.o:
$SonyId: ident.o,v 4.3500 1994/11/14 15:00:01 root Rel421a+ $
識別
著者:Walter F.Tichy, Purdue University, West Lafayette, IN, 47907.
リビジョン番号: 4.700 ; リリース日付: 1992/03/13 .
Copyright © 1982 by Walter F.TIchy.
関連事項
ci(1), co(1), rcs(1), rcsdiff(1), rcsintro(1), rcsmerge(1), rlog(1), rcsfile(5).
Walter F. Tichy, "Design, Implementation, and Evaluation of a Revision Control System," in Proceedings of the 6th International Conference on Software Engineering, IEEE, Tokyo, Sept. 1982.
NEWS-OSRelease 4.2.1R