If you work with a language that makes use of vowels that have quantity…
AND
you need to generate those macron-bearing characters based on ASCII standards (because character panel lookup is not awesome)
AND
you work with this language from the CLI
THEN
Wow, there’s someone else besides me?
ahem
THEN Macronconversions may be the library for you!
$ mconv -M "laud\={a}re" laudāre
Coup-de-grâce
$mdconv `mconv -M "laud\={a}re" ` laud\={a}re
HTML codes instead
$ mconv -H "laud\={a}re" laudāre
Obviously the bin/ files are just thin wrappers around the core library. Consult the RDoc for programmatic use.
gem install macronconversionsStable