xref: /freebsd/usr.bin/ident/ident.1 (revision 3c5ba95ad12285ad37c182a4bfc1b240ec6d18a7)
1.\" Copyright (c) 2015 Baptiste Daroussin <bapt@FreeBSD.org>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
27.Dd Jul 25, 2015
28.Dt IDENT 1
29.Os
30.Sh NAME
31.Nm ident
32.Nd identify RCS keyword string in files
33.Sh SYNOPSIS
34.Nm
35.Op Fl q
36.Op Fl V
37.Op Ar
38.Sh DESCRIPTION
39The
40.Nm
41utility searches for all instances of the pattern
42.Sq $keyword: text$
43in
44.Ar files .
45.Pp
46If no arguments are passed, then
47.Nm
48parses the standard input.
49.Pp
50.Em keyword
51must only be composed of alphanumeric values in the C locale, followed by
52.Sq \&:
53and a space.
54.Pp
55These options are supported:
56.Bl -tag -width "XXX"
57.It Fl q
58Quiet mode: suppress warnings if no pattern found.
59.It Fl V
60Do nothing, added for compatibility with GNU ident.
61.El
62.Sh EXIT STATUS
63.Ex -std ident
64.Sh AUTHORS
65This version of the
66.Nm
67utility was written by
68.An Baptiste Daroussin Aq Mt bapt@FreeBSD.org .
69