Installation
pip install pnu-ident
IDENT(1)
NAME
ident — identify RCS keyword strings in files
SYNOPSIS
ident [-q] [--debug] [--help|-?] [-V|--version] [--] [file ...]
DESCRIPTION
The ident utility searches for all instances of the pattern ‘$keyword: text $’ in file(s).
keyword must only be composed of alphanumeric values in the C locale, followed by ‘:’ and a space.
If no arguments are passed, then ident parses the standard input.
The pattern normally requires a colon and a space immediately after the keyword and a space immediately before the terminating $, but for Subversion 1.2 (and later) compatibility, ident will also recognize the pattern ‘$keyword:: text $’ (i.e., two colons and a space) and the pattern ‘$keyword:: text #$’ (likewise, with a hash before the terminating $). These are the fixed-width keyword syntax.
To summarize, the three recognized patterns are:
- $keyword: text $
- $keyword:: text $
- $keyword:: text #$
OPTIONS
These options are supported:
| Options | Use |
|---|---|
| -q | Quiet mode: suppress warnings if no pattern found |
| --debug | Enable debug mode |
| --help|-? | Print usage and a short help message and exit |
| -V|--version | Print version and exit |
| -- | Options processing terminator |
ENVIRONMENT
The IDENT_DEBUG environment variable can be set to any value to enable debug mode.
The FLAVOUR or IDENT_FLAVOUR environment variables can be set to one of the following values, to implement only the corresponding options and behaviours.
EXIT STATUS
The ident utility exits 0 on success, and >0 if an error occurs.
SEE ALSO
STANDARDS
The ident utility is not a standard UNIX command, though a usual one on Unix-like systems.
This re-implementation tries to follow the PEP 8 style guide for Python code.
PORTABILITY
Tested OK under Windows.
HISTORY
The ident command appeared with the Revision Control System (RCS) in 1982, and was written by Walter F. Tichy at Purdue University. RCS is now maintained by the GNU Project.
This re-implementation was made for the PNU project.
LICENSE
It is available under the 3-clause BSD license.
AUTHORS
This manual page is based on the one written for FreeBSD by Baptiste Daroussin bapt@FreeBSD.org.
CAVEATS
In the original RCS ident command, option -V printed RCS version number. Our re-implementation prints its own version.
Release files for pnu-ident 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pnu_ident-1.0.0.tar.gz | 10.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pnu_ident-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.8 kB
Release files / pnu_ident-1.0.0.tar.gz
| Download URL | pnu_ident-1.0.0.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eab0d4f1ff42b7f49698ddbf57a370924e552227cf917c009daa273e44c69069
|
|
BLAKE2b-256 checksum How to use checksums |
1c9c488266c6a641301bf6bc3046f081b5ba2c8938d412a7e3eda3bf85ed0eca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Release files / pnu_ident-1.0.0-py3-none-any.whl
| Download URL | pnu_ident-1.0.0-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81548a2bd565d95e7e9f5696807353b9ed62e5b9d4ea09490e4bdafe267b1f2f
|
|
BLAKE2b-256 checksum How to use checksums |
ac019f31ca3b1217ef79b42d9e08dbe04eb9cecfc637aa9e61cc5cee0902bc43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|