Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature-vt/sys/man/1/freq – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
.TH FREQ 1
2
.SH NAME
3
freq \- print histogram of character frequencies
4
.SH SYNOPSIS
5
.B freq
6
[
7
.B -cdorx
8
]
9
[
10
.I file ...
11
]
12
.SH DESCRIPTION
13
.I Freq
14
reads the given files (default standard input)
15
and prints histograms of the character frequencies.
16
By default,
17
.I freq
18
counts each byte as a character;
19
under the
20
.B -r
21
option it instead counts
22
.SM UTF
23
sequences, that is, runes.
24
.PP
25
Each non-zero entry of the table is printed preceded by the byte value,
26
in decimal, octal, hex, and
27
Unicode
28
character (if printable).
29
If any options are given, the
30
.BR -d ,
31
.BR -x ,
32
.BR -o ,
33
.B -c
34
flags specify a subset of value formats: decimal, hex, octal, and
35
character, respectively.
36
.SH SOURCE
37
.B /sys/src/cmd/freq.c
38
.SH SEE ALSO
39
.IR utf (6),
40
.IR wc (1)