Skip to content

A simple cli to transform text to morse and morse to text.

License

Notifications You must be signed in to change notification settings

CastelJeremy/morse.c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

morse.c

A simple cli to transform text to morse and morse to text.

Usage

$ morse -e "Hello World"
.... . .-.. .-.. --- / .-- --- .-. .-.. -..
$ morse -d ".... . .-.. .-.. --- / .-- --- .-. .-.. -.."
HELLO WORLD
$ morse -h
Usage: morse [options...]
 -e, --encode <text>  Encode the text and show the morse value
 -d, --decode <morse> Decode the morse and show the text value
 -h, --help           Show this help message and quit
 -v, --version        Show version number and quit

Build

This is the recommended way to build this project :

gcc src/morse.c -Wall -O3 -march=native -o bin/morse

About

A simple cli to transform text to morse and morse to text.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages