ENTROPY(1) GregOS Manual ENTROPY(1) NAME entropy - compute Shannon entropy of input SYNOPSIS entropy DESCRIPTION entropy computes the Shannon entropy of the input string in bits per symbol. Higher entropy indicates more randomness or information content. Also reports: input length, number of unique symbols, and the theoretical maximum entropy for the observed alphabet size. EXAMPLES $ entropy aaaa Shannon entropy: 0.0000 bits/symbol $ entropy abcd Shannon entropy: 2.0000 bits/symbol AUTHOR Gregory Alan, CS 432 Spring 1982 SEE ALSO freq(1)