opensolaris man page for sq

Query: sq

OS: opensolaris

Section: 1

Links: opensolaris man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SQ(1)							      General Commands Manual							     SQ(1)

NAME
sq, unsq - squeeze or unsqueeze a sorted word list SYNOPSIS
sq < infile > outfile unsq < infile > outfile DESCRIPTION
sq compresses a sorted list of words (a dictionary). For example: sort -u /usr/share/dict/words | sq | gzip -9 > words.sq.gz will compress dict by about a factor of 5. unsq uncompress the output of sq. For example: gunzip < words.sq.gz | unsq | sort -f -o words will uncompress a dictionary compressed with sq. The squeezing is achieved by eliminating common prefixes, and replacing them with a single character which encodes the number of characters shared with the preceding word. The prefix size is encoded as a single printable character: 0-9 represent 0-9, A-Z represent 10-35, and a- z represent 36-61. BUGS
sq and unsq can only handle words of up to 256 characters. The input must be sorted, and duplicates must be suppressed. AUTHOR
Mike Wexler SEE ALSO
compress(1), sort(1). LOCAL SQ(1)
Related Man Pages
look(1) - opensolaris
french(5) - debian
irish(5) - debian
polish(5) - debian
look(1) - centos
Similar Topics in the Unix Linux Community
Unmatched &#039;then&#039;
Something went awfully wrong in PHP+MySQL :(
A Fun Perfect Square Checker Using Integer Arithmetic Only... ;o)
Www.UNIX.com is slow today ???
CentOS 6 ran out of space, need to reclaim it