GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  UNIHIST (1)

NAME

unihist - Generate a histogram of the characters in a Unicode file

CONTENTS

Synopsis
Description
Command Line Flags
See Also
References
Author
License

SYNOPSIS

unihist ([option flags])

DESCRIPTION

unihist generates a histogram of the characters in its input, which must be encoded in UTF-8 Unicode. By default, for each character it prints the frequency of the character as a percentage of the total, the absolute number of tokens in the input, the UTF-32 code in hexadecimal, and, if the character is displayable, the glyph itself as UTF-8 Unicode. Command line flags allow unwanted information to be suppressed. In particular, note that by suppressing the percentages and counts it is possible to generate a list of the unique characters in the input.

Output is produced ordered by character code. To sort it in descending order of frequency, pipe the output into the command:

sort -k1 -n -r

By default, unihist handles all of Unicode. To reduce memory usage and increase speed, it may be compiled so as to handle only the Basic Multilingual Plane (plane 0) by defining BMPONLY.

COMMAND LINE FLAGS

-c Suppress printing of counts and percentages.
-g Suppress printing of glyphs.
-h Print usage information.
-u Suppress printing of the Unicode code as text.
-v Print version information.

SEE ALSO

uniname(1)

REFERENCES

Unicode Standard, version 5.0

AUTHOR

Bill Poser
billposer@alum.mit.edu

LICENSE

GNU General Public License

Search for    or go to Top of page |  Section 1 |  Main Index


--> UNIHIST (1) May, 2008

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.