Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
FREQ(1)			    General Commands Manual		       FREQ(1)

NAME
       freq - print histogram of character frequencies

SYNOPSIS
       freq [ -dxocr ] [ file ...  ]

DESCRIPTION
       Freq  reads  the	 given	files (default standard	input) and prints his-
       tograms of the character	frequencies.  By  default,  freq  counts  each
       byte  as	 a  character;	under  the -r option it	instead	counts UTF se-
       quences,	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
       /usr/local/plan9/src/cmd/freq.c

SEE ALSO
       utf(7), wc(1)

								       FREQ(1)

NAME | SYNOPSIS | DESCRIPTION | SOURCE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=freq&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help