Skip to content

cetorres/text_compress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

text_compress

A simple text compression command line tool made in Swift.

It just replaces repeated characters with the number of ocurrencies.

For example: aaaabbbccdeefffaaa becomes a4b3c2de2f3a3

text_compress 1.0
A simple text compression tool
Copyright © 2024 Carlos E. Torres

Usage:
	text_compress -c <Text to compress> [-i]
	text_compress -d <Text to decompress>

Example of compression:
	aaaabbbccdeefffaaa -> a4b3c2de2f3a3   (case insensitive)
	aAAabbbccdeefffaaa -> aA2ab3c2de2f3a3 (case sensitive)

About

A simple text compression command line tool made in Swift.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages