strings.1 - sbase - suckless unix tools
(HTM) git clone git://git.suckless.org/sbase
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
strings.1 (807B)
---
1 .Dd October 8, 2015
2 .Dt STRINGS 1
3 .Os sbase
4 .Sh NAME
5 .Nm strings
6 .Nd print strings of printable characters in files
7 .Sh SYNOPSIS
8 .Nm
9 .Op Fl a
10 .Op Fl n Ar num
11 .Op Fl t Ar format
12 .Op Ar file ...
13 .Sh DESCRIPTION
14 .Nm
15 writes sequences of at least 4 printable characters in each
16 .Ar file
17 to stdout.
18 If no
19 .Ar file
20 is given,
21 .Nm
22 reads from stdin.
23 .Sh OPTIONS
24 .Bl -tag -width Ds
25 .It Fl a
26 Scan each
27 .Ar file
28 entirely.
29 This is the default.
30 .It Fl n Ar num
31 Print sequences of at least
32 .Ar num
33 characters.
34 The default is 4.
35 .It Fl t Ar format
36 Prepend each string with its byte offset, with
37 .Ar format
38 being one of
39 .Sy d , o , x
40 for decimal, octal or hexadecimal numbers.
41 .El
42 .Sh STANDARDS
43 POSIX.1-2013.
44 .Pp
45 The
46 .Op Fl t
47 output format has been changed from "%F %s" to "%8lF: %s", with
48 .Sy F
49 being one of
50 .Sy d , o , x .