$Id: sq.1,v 1.12 2005/04/14 14:38:23 geoff Exp $ Copyright 1992, 1993, 1999, 2001, Geoff Kuenning, Claremont, CA All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this l...
NAMEsq, unsq - squeeze or unsqueeze a sorted word list
SYNOPSISsq < infile > outfile
unsq < infile > outfile
DESCRIPTIONsq compresses a sorted list of words (a dictionary). For example:
- sort -u /usr/share/dict/words | sq | gzip -9 > words.sq.gz
unsq uncompress the output of sq. For example:
- gunzip < words.sq.gz | unsq | sort -f -o words