- Improve feedback when a CLI arg is missing.
-
Significantly more consistent with the output of original cowsay.
This is especially noticeable with the way backslash (character escape) is interpreted in cowfiles.
For example superfluous escapes are handled better:
Before:
_____
< Moo >
-----
\
\
/~\
|oo )
_\=/_
/ \
//|/.\|\\
|| \_/ ||
|| |\ /| ||
\# \_ _/ \#
| | |
| | |
[]|[]
| | |
/_]_[_\
After:
_____
< Moo >
-----
\
\
/~\
|oo )
_\=/_
/ \
//|/.\|\\
|| \_/ ||
|| |\ /| ||
# \_ _/ #
| | |
| | |
[]|[]
| | |
/_]_[_\
-
Missing escapes are now handled exactly like the original cowsay (not as well).
Fix the cowfiles not the cowsay.
Before:
_____
< Moo >
-----
\
\
## .
## ## ## ==
## ## ## ## ===
/""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\______/
After:
_____
< Moo >
-----
\
\
## .
## ## ## ==
## ## ## ## ===
/""""""""""""""""___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ / ===- ~~~
______ o __/
__/
__________/
-
cowsay -listnow behaves like original cowsay in that cows are separated by spaces instead of newlines. -
New minimal JAR
classifier=libfor use as a java library if the "one jar" is too big. -
Better handling of a wide range of third-party cowfiles.
-
Fix license (#18)
-
Normalize whitespace like original cowsay (tabs and spaces collapse to a single space):
Before:
__________
< Awesome >
----------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
After:
__________
< Awesome >
----------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
-
Separate cowfile bundles into their own cowjars.
-
Move "offensive" cowfiles out of the default bundle
cowjarintocowjar-off. -
A working example application showing use with Maven, Ant and Java.
-
A lot of tweaks under the hood including: no more git submodules, vastly better unit testing, etc.
- Handle piped input:
echo Moo! | java -jar cowsay.jar- CLI wrapper scripts facilitate usage without
java -jar:
cowsay Moo!
cowsay -f tux Moo!
cowthink Moo!
echo Moo! | cowsay- Fix multiline wrapping issues encountered with long messages (#7).
- Handle multiple args passed as message (#4).
- Added HTML output mode.
- Initial release.