~henesy/runez2

A naive utf-8 text compression algorithm
allow runez2 to use in/out files as arguments
add bigmac.txt as an example of less blatantly repetitive text being compressed
fix references

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~henesy/runez2
read/write
git@git.sr.ht:~henesy/runez2

You can also use your local clone with git send-email.

#Runez2

Another absolutely awful, but (probably) lossless, compression format for utf-8 text.

This is the successor to the runez archive format.

See the spec for implementation details, or read the source ☺.

#Build

; go build

#Usage

runez2 [-D] [-c ¦ -d] [input ¦ < input] [output ¦ > output]

#Examples

; wc -c mac.txt
3550 mac.txt
; 9 wc -r mac.txt
   1950 mac.txt
; # ^ Number of runes
; ./runez2 < mac.txt > mac.rz2
; wc -c mac.rz2
2030 mac.rz2
; ./runez2 -d < mac.rz2 > newmac.txt
; diff mac.txt newmac.txt
;

#References