strings.1 (1127B)
- .\" Collection of Unix tools, comparable to coreutils
- .\" Copyright 2017-2023 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
- .\" SPDX-License-Identifier: MPL-2.0
- .Dd 2023-08-11
- .Dt STRINGS 1
- .Os
- .Sh NAME
- .Nm strings
- .Nd find printable strings
- .Sh SYNOPSIS
- .Nm
- .Op Fl a
- .Op Fl t Ar format
- .Op Fl n Ar number
- .Op Ar files ...
- .Sh DESCRIPTION
- .Nm
- reads each
- .Ar file
- in sequence and writes printable strings longer than 4 or
- .Ar number .
- If no
- .Ar file
- is given,
- .Nm
- reads from the standard input.
- .Sh OPTIONS
- .Bl -tag -width Ds
- .It Fl a
- Ignored, present for POSIX compatibility.
- Files are always scanned in their entirety and it is considered a flaw to do
- otherwise.
- .It Fl n Ar number
- Change the minimum string length (default: 4).
- .It Fl t Ar format
- Write the byte offset of each string found, the format is dependend on the
- format argument:
- .Bl -tag -width d
- .It d
- Decimal
- .It o
- Octal
- .It x
- Hexadecimal
- .El
- .El
- .Sh EXIT STATUS
- .Ex -std
- .Sh SEE ALSO
- .Xr nm 1 ,
- .Xr isprint 3
- .Sh STANDARDS
- .Nm
- is compliant with the
- .St -p1003.1-2008
- specification.
- .Sh AUTHORS
- .An Haelwenn (lanodan) Monnier Aq Mt contact@hacktivis.me