Skip to content
/ pinky Public

🔢 Generate PIN codes from letters using phone keypad layout

License

Notifications You must be signed in to change notification settings

KevCui/pinky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

pinky

Generate PIN codes from letters using phone keypad layout

How it works

Pinky.sh (pin-key) is a Bash script used to generate PIN code. It simply maps letters to numbers according to phone keypad layout:

Number Letter
9 WXYZ
8 TUV
7 PQRS
6 MNO
5 JKL
4 GHI
3 DEF
2 ABC
1 others
0 +

Usage

Usage:
  ./pinky.sh <letters>
  OR
  ./pinky.sh
  Enter letter(s): <letters>

Example

$ ./pinky.sh test
8378
$ ./pinky.sh
Enter letter(s): test
8378

Buy Me A Coffee