schacon / cowsay Goto Github PK
View Code? Open in Web Editor NEWgit version of awesome cowsay project
Home Page: http://www.nog.net/~tony/warez/cowsay.shtml
License: Other
git version of awesome cowsay project
Home Page: http://www.nog.net/~tony/warez/cowsay.shtml
License: Other
=========== cowsay 3.03 =========== cowsay is a configurable talking cow, written in Perl. It operates much as the figlet program does, and it written in the same spirit of silliness. cowsay is actually a pretty old program. It has not really been released before, and I am releasing it in the hope that someone other than myself will be amused by it. The first major version of cowsay had one cow and one message template: $foo is $verb $bar. Not very flexible, but people managed to do pretty interesting things with it. The second major version scrapped many of the limitations of the first, by allowing arbitrary messages, multiple cowfiles, and even support for cows talking in figlet. The third version was a rewrite of the second into Perl 5, whereupon the code got a lot smaller and more manageable. :-) If you are using Perl 5.004, you may have problems with Text::Wrap. (Yeesh, this module changes more than it should...) I've included a diff for the Text::Wrap (version 97.011701) that is shipped with 5.004_04; the concept is simple enough that even older Perls can take advantage of this silly little patch; if there is a "sub fill" in the documentation for the module, copy it to a more useful section of that file. If not, just take "sub fill" wholesale from the patch. Oh, and consider upgrading to 5.005_03 or later. Please. You'll like it, I promise. To install cowsay, consult the INSTALL file in this directory. For the terms and conditions of use, consult the LICENSE file in this directory. -- Tony Monroe ([email protected]) $Id: README,v 1.3 2000/05/28 06:24:46 tony Exp $
git clone git://github.com/schacon/cowsay
$ cowsay a | cowsay
________________
/ ___ < a > \
| |
| --- |
| |
| \ ^__^ |
| |
| \ (oo)\_______ |
| |
| (__)\ )\/\ |
| |
| ||----w | |
| |
\ || || /
----------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Trying to pipe cowsay into cowsay is very ugly, I think this is a real big issue we have to fix as soon as possible.
It looks like something's wrong with the mech-and-cow file.
I ran this command:
cowsay -f 'mech-and-cow' hello
The result was this error:
Backticks found where operator expected at /usr/local/share/cows/mech-and-cow line 12, near >"^__^ / /'|
" (Might be a runaway multi-line``string starting on line 10) (Missing semicolon on previous line?) Backslash found where operator expected at /usr/local/share/cows/mech-and-cow line 13, near ")\" (Missing operator before \?) Backticks found where operator expected at /usr/local/share/cows/mech-and-cow line 15, at end of line (Missing semicolon on previous line?) cowsay: Can't find string terminator "
" anywhere before EOF at /usr/local/share/cows/mech-and-cow line 15.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.