Skip to content

9viz/bottom-sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bottom sh

Bottom encoder and decoder in sh

Usage

# Encode and decode in a single pipeline
echo "Hello, 世界!" | ./encode | ./decode
# Hello, 世界!

# Encode and save to file
echo "Hello, world" | ./encode >file

# Decode from file
./decode <file

You can either use decode-buf or decode-checkchar. Both of them seem equally fast. decode and decode-buf are the same.

Caveats

The input to encode and decode must end with a newline.

About

Bottom encoder and decoder in pure sh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages