ryancoleman / fmj

A POSIX emoji formatter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fmj

A pure awk emoji formatter.

Installation

Put fmj somewhere on your $PATH. I keep tools like this in ~/.bin:

$ git clone https://github.com/ecmendenhall/fmj
$ mv fmj/fmj ~/.bin

Usage

fmj is a Unix filter. Give it text containing emoji shortcodes on STDIN and it replaces them with the corresponding unicode characters:

$ echo :joy_cat: | fmj

If there is no input on STDIN, fmj reads from a file. Try, e.g.

$ fmj they_hatin

in this project directory.

About

A POSIX emoji formatter

License:Apache License 2.0


Languages

Language:Awk 96.3%Language:Shell 3.7%