IBA official cocktail recipes for the fortune
program.
$ fortune cocktails | cowsay
______________________________________
/ The "Manhattan" \
| |
| - 5 cl rye whiskey |
| |
| - 2 cl sweet red vermouth |
| |
| - dash of angostura bitters |
| |
| Stirred over ice, strained into a |
| chilled glass, garnished, and served |
\ up. /
--------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
This is an extension to the fortune program. You must install it in order to use these cocktail recipes.
# Debian/Ubuntu
$ sudo apt install fortune
# Arch Linux
$ sudo pacman -S fortune-mod
# Mac
$ brew install fortune
$ git clone https://github.com/j0hax/fortune-cocktails.git
$ cd fortune-cocktails-master
If the cocktail recipes do not work out-of-the-box, you may have to regenerate the strings file.
$ strfile cocktails
# Copy to fortune's databases on Linux
$ sudo cp cocktails cocktails.dat /usr/share/games/fortunes/
# on macOS
$ sudo cp cocktails cocktails.dat /usr/local/share/games/fortunes/