plan9-freq(1)

plan9-freq1

Print histogram of character frequencies

Usage

freq [-dxocr] [file ...]

Overview

Freq reads the given files (default standard input) and prints histograms of the character frequencies. By default, freq counts each byte as a character; under the -r option it instead counts UTF sequences, that is, runes.

Each non-zero entry of the table is printed preceded by the byte value, in decimal, octal, hex, and Unicode character (if printable). If any options are given, the -d, -x, -o, -c flags specify a subset of value formats: decimal, hex, octal, and character, respectively.

Source

/src/cmd/freq.c

Releases

Unchanged in 2 releases since Debian 6.0 (Squeeze).

  1. 6.0–7

From 9base 1:6-5 in Debian 7 (Wheezy). Parsed by carta from the page's man source.