~ubuntu-branches/ubuntu/natty/9base/natty

« back to all changes in this revision

Viewing changes to freq/freq.1

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2010-06-04 17:22:03 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20100604172203-ei85j0da495sr8ut
Tags: 1:6-1
* Adding Kai as co-maintainer.
* Merging upstream version 6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH FREQ 1
 
2
.SH NAME
 
3
freq \- print histogram of character frequencies
 
4
.SH SYNOPSIS
 
5
.B freq
 
6
[
 
7
.B -dxocr
 
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 \*9/src/cmd/freq.c
 
38
.SH SEE ALSO
 
39
.IR utf (7),
 
40
.IR wc (1)