Skip to content

Joker2770/morse-encode-and-decode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

morse-encode-and-decode

Codacy Badge

morse encode and decode

Build

Required:

  • make
  • gcc

Step:

git clone https://github.com/Joker2770/morse-encode-and-decode.git
cd morse-encode-and-decode
make
./morse-encode-and-decode
sudo make install
morse-encode-and-decode

Usage

morse-encode-and-decode -l
morse-encode-and-decode {-e|-d} {<string>}


	--list   (-l)	List morse code table.

	--encode (-e)	Encode string. e.g.: morse-encode-and-decode -e "Hello world!"

	--decode (-d)	Decode Morse code. e.g.: morse-encode-and-decode -d ".- -... -.-. "