PREZIP-BIN(1)
β¨ prezip-bin β the word list compressor/decompressor π
okay bestie, so this is prezip-bin from the Aspell Abbreviated User's Manual, and it's literally the little prefix-zip delta word list compressor/decompressor that feeds your spellchecker. it's giving tiny-tool-big-energy π
πΈ NAME πΈ
prezip-bin β prefix zip delta word list compressor/decompressor π¦
π SYNOPSIS π
prezip-bin [ -V | -d | -z ]
π DESCRIPTION π
so prezip-bin squishes (compresses) and un-squishes (decompresses) sorted word lists, reading from standard input and writing to standard output. no files, no drama, just stdin β‘οΈ stdout β¨
prezip-bin is like word-list-compress(1)'s cooler cousin, except it allows a way bigger character set of {0x00...0x09, 0x0B, 0x0C, 0x0E...0xFF} and it handles multi-words larger than 255 characters in length π (yes bestie, 255+, we're not like other compressors).
it can also decompress word-list-compress(1)-compatible files, so it plays nice with the old stuff π«Ά
π COMMANDS π
prezip-bin accepts only one of these commands. one. that's the vibe check. pick one π
-Vβ display theprezip-binversion number to standard output. that's it, that's the whole job β¨-dβ read a compressed word list from standard input and decompress it to standard output. this can be aword-list-compress(1)file or aprezip-bincompressed file π-zβ read a binary word list from standard input and compress it to standard output. compression era π¦
πΈ EXAMPLES πΈ
prezip-bin -d <wordlist.cwl >wordlist.txt
decompress file wordlist.cwl to text file wordlist.txt β unzipping but make it cute π
prezip-bin -z <wordlist.txt >wordlist.pz 2>errors.txt
compress wordlist.txt to binary file wordlist.pz and send any error messages to a text file named errors.txt π (the 2> is doing the heavy lifting here, bestie)
LC_COLLATE=C sort -u <wordlist.txt | prezip-bin -z >wordlist.pz
sort a word list, then pipe it to prezip-bin to create a compressed binary wordlist.pz file. sort then zip, in that order, no cap π₯
prezip-bin -d <words.pz | aspell create master ./words.rws
decompress a word list, then pipe it to aspell(1) to create a spelling list. please check the aspell(1) info manual for proper usage and options β do your homework bestie π
π¦ TIPS π¦
prezip-bin is best used with sorted word list type files. it is not a general purpose compression program, since resulting files may actually increase in size π (yes, bigger. it said what it said.)
unlike word-list-compress(1), if your word list has leading or trailing blank spaces for formatting purposes, you should remove them first before you compress your list using prezip-bin -z, otherwise those spaces will be included in the compressed binary output π
no fr fr, strip the spaces first. the spaces are not invited to the party.
π DIAGNOSTICS π
prezip-bin normally exits with a return code of 0. if it encounters an error, a message is sent to standard error output (stderr), and prezip-bin exits with a non-zero return value. error messages are listed below π
- (display help/usage message) β unknown command given on the command line, so
prezip-bindisplays a usage message to standard error output. it's basically saying "girl what" π unknown formatβ the input file appears not to be an expected format, or may possibly be a more advanced format. the output file will be empty. nothing. void. πcorrupt inputβ this is only for the decompression command-d. the input file appeared to be of a correct format, but something appears wrong now. there may be some valid data in output, but due to input corruption, the rest of the file can not be completed πunexpected EOFβ the input file appeared okay but ended sooner than expected, therefore the output file is not complete. it justβ¦ stopped. mid-sentence. iconic in a bad way π
π SEE ALSO π
aspell(1), aspell-import(1), run-with-aspell(1), word-list-compress(1)
Aspell is fully documented in its Texinfo manual. see the aspell entry in info for more complete documentation π
π REPORTING BUGS π
for help, see the Aspell homepage at <http://aspell.net>. send bug reports/comments to the Aspell user list at the above address π«Ά
π AUTHOR π
this info page was written by Jose Da Silva <digital@joescat.com>. thank you for your service, legend β
okay that's the whole page bestie, go compress something sorted and slay π β¨
sign-off time: this was prezip-bin-0.1.2, dated 2005-09-30, and yes it's still serving looks from the Aspell Abbreviated User's Manual π
π¦ where this page comes from
- alpine 3.22: aspell-doc 0.60.8.1-r0 Β· LGPL-2.1-or-later
- alpine 3.23: aspell-doc 0.60.8.1-r0 Β· LGPL-2.1-or-later
- alpine 3.24: aspell-doc 0.60.8.2-r0 Β· LGPL-2.1-or-later
- arch rolling: aspell 0.60.8.3-1 Β· LGPL-2.0-or-later AND LGPL-2.1-only AND GPL-2.0-or-later AND BSD-2-Clause
- debian bookworm: aspell 0.60.8-4+b1 Β· LGPL-2.1-or-later
- debian trixie: aspell 0.60.8.1-4 Β· LGPL-2.1-or-later
- nixos 26.05: aspell 0.60.8.2
- nixpkgs unstable: aspell 0.60.8.2
- opensuse-leap 16.0: aspell 0.60.8.1-160000.2.2 Β· GFDL-1.1-or-later AND LGPL-2.1-only AND HPND AND SUSE-BSD-Mark-Modifications
- opensuse-leap 16.0: aspell 0.60.8.1-160000.2.2 Β· GFDL-1.1-or-later AND LGPL-2.1-only AND HPND AND SUSE-BSD-Mark-Modifications
- opensuse-leap 16.0: aspell 0.60.8.1-160000.2.2 Β· GFDL-1.1-or-later AND LGPL-2.1-only AND HPND AND SUSE-BSD-Mark-Modifications
- opensuse-leap 16.0: aspell 0.60.8.1-160000.2.2 Β· GFDL-1.1-or-later AND LGPL-2.1-only AND HPND AND SUSE-BSD-Mark-Modifications
- ubuntu jammy: aspell 0.60.8-4build1 Β· LGPL-2.1-or-later
- ubuntu noble: aspell 0.60.8.1-1build1 Β· LGPL-2.1-or-later
- ubuntu questing: aspell 0.60.8.1-4
- ubuntu resolute: aspell 0.60.8.2-3 Β· LGPL-2.1-or-later
- ubuntu stonking: aspell 0.60.8.2-3 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms