Home

What is monkeysay?

It is a joke program I've written as an exercise just to become familiar with bash script. It displays a monkey head which gives you some random quotes. It puts together the concepts of cowsay and fortune.

Example output

$ monkeysay
        __
      c(..)o
       (o)
     __/\________________________________________
    |                                            |
    |  Manuals come out after all possible       |
    |  keystrokes fail.                          |
    |____________________________________________|

Help screen

$ monkeysay -h
Monkeysay - a monkey wiser than you are!

Usage: monkeysay [OPTION]... [MESSAGE]

General:
  -h, --help            display this help and exit
  -V, --version         display version information and exit
  -c, --cowsay          use cowsay to display quotes
  -p, --pad=PAD         pad lines with PAD spaces (symmetric)
  -s, --shift=SHIFT     shift the bubble to the right by SHIFT characters
  -w, --wrap=WRAP       wrap lines at WRAP column (after shift)
  -t, --top=TOP         pad top margin with TOP lines
  -b, --bottom=BOT      pad bottom margin with BOT lines
  -a, --asis            display the quote as is: without pad, shift, wrap and decorations

If MESSAGE is omitted a random quote will be displayed.

Version infos

$ monkeysay -V
Monkeysay version: 1.0
Quotes database entries: 1827
e-mail: dr.dev.pub@gmail.com
web: http://bitbucket.org/drbb/monkeysay

Updated

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.