freq

command
v6.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2019 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

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.

Synopsis:

freq [-rdxoc] [FILES]...

Description:

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.

Options:

–r: treat input as UTF-8
–d: print decimal value
–x: print hex value
–o: print octal value
–c: print character/UTF value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL