
gboquotes gives you the quotes out of GBO! And prints them nicely formatted on your console.
gboquotes has six actions, which let you fetch quotes from GBO. If no action is specified, the default from the action setting is performed.
There are two other options, which are not really important, but definitely nice to now:
Tells gboquotes, whether to use colored output or not. If this option is not given, coloring depends on the color setting.
If auto is specified, coloring depends on the capabilites of your terminal. On windows, colored output is disabled, since the windows console is a poor, dumb terminal. On other systems, colored output is enabled, if you’re running on a tty. Note, that this means, that redirections like gboquotes > foobar will disable colored output! If you want colors in your file, you must explicitly enable them.
If no argument is given, colored output is enabled. Note, that if your terminal doesn’t supported ANSI color sequences, you will weird stuff in the output, since ANSI color sequences are not interpreted.
gboquotes reads ~/.gbo/gboquotesrc at startup. This configuration file knows four configuration values:
Sets the default action. The following actions may be set through this option:
The default action is latest.
I don’t need seconds in the time formatting and don’t like to always see the latest quotes. Instead I prefer a random selection of the best ones. Therefore my configuration file looks like the following:
action=toprandom
dateformat=%x %H:%M