{ "name": "baresay", "section": 1, "title": "print an ASCII animal with a speech balloon", "synopsis": [ "baresay [OPTION]... [MESSAGE...]" ], "description": "Like cowsay for Bare OS: wraps MESSAGE (or stdin, if none) in a speech balloon and prints it above an ASCII character read from /share/baresay/.bare. Default character is bear. Full behavior is in packages/bare-os-coreutils/src/baresay.js and lib/baresay-engine.js.", "files": [ "/share/baresay/*.bare — ASCII templates with $thoughts, $eyes, $L (left eye), $R (right eye), $tongue" ], "options": [ { "flag": "-W COLS", "meaning": "Maximum width for word wrapping balloon text (default 40)." }, { "flag": "-n", "meaning": "Do not wrap words; single balloon line." }, { "flag": "-f NAME|-f PATH", "meaning": "Character: NAME loads /share/baresay/NAME.bare; PATH loads that file." }, { "flag": "--file NAME|PATH", "meaning": "Same as -f." }, { "flag": "-l", "meaning": "List names (basename of each .bare under /share/baresay)." }, { "flag": "-e XX", "meaning": "Two characters for eyes (default oo)." }, { "flag": "-T C", "meaning": "One character for tongue." }, { "flag": "-b -d -g -p -s -t -w -y", "meaning": "Preset moods (Borg, dead, greedy, paranoid, stoned, tired, wired, youthful)." }, { "flag": "--think", "meaning": "Thought balloon with parentheses instead of angle brackets." }, { "flag": "-th", "meaning": "Same as --think." }, { "flag": "--rainbow", "meaning": "ANSI color cycling on balloon lines." }, { "flag": "-R", "meaning": "Pick a random .bare from /share/baresay." }, { "flag": "--random", "meaning": "Same as -R." }, { "flag": "-h", "meaning": "Print usage and exit." }, { "flag": "--help", "meaning": "Same as -h." } ], "keywords": [ "baresay", "cowsay", "ascii", "bare-os", "coreutils" ], "examples": [ { "caption": "Speech from arguments", "code": "baresay Hello from Bare OS" }, { "caption": "Pipe text", "code": "echo hi | baresay" }, { "caption": "Another character", "code": "baresay -f pear Pear-powered" }, { "caption": "Thought bubble", "code": "baresay --think Quiet thoughts" } ] }