1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 09:12:41 +01:00
phorge-phorge/externals/cowsay
epriestley c705c8011e Use PHP implementation of Cowsay for cowsay rule
Summary:
Ref T7785. Convert the Cowsay Remarkup rule to use a PHP implementation so we don't have to execute an external `cowsay` binary.

I removed some of the default ".cow" files that come with Cowsay because they:

  - include Perl code which we can not interpret; or
  - are primarily in-jokes or standalone visual puns or artwork rather than usable actors on the grand stage of cowsay; or
  - offended my delicate sensibilities.

Users can add new cows to `resources/cows/custom/` if they want to make new cows available.

I have included a majestic original artwork depicting the "Companion Cube" character from //Portal//.

Test Plan: {F802535}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9408, T7785

Differential Revision: https://secure.phabricator.com/D14100
2015-09-13 12:27:30 -07:00
..
cows Use PHP implementation of Cowsay for cowsay rule 2015-09-13 12:27:30 -07:00
ChangeLog Use PHP implementation of Cowsay for cowsay rule 2015-09-13 12:27:30 -07:00
cowsay Use PHP implementation of Cowsay for cowsay rule 2015-09-13 12:27:30 -07:00
cowsay.1 Use PHP implementation of Cowsay for cowsay rule 2015-09-13 12:27:30 -07:00
INSTALL Use PHP implementation of Cowsay for cowsay rule 2015-09-13 12:27:30 -07:00
install.sh Use PHP implementation of Cowsay for cowsay rule 2015-09-13 12:27:30 -07:00
LICENSE Use PHP implementation of Cowsay for cowsay rule 2015-09-13 12:27:30 -07:00
MANIFEST Use PHP implementation of Cowsay for cowsay rule 2015-09-13 12:27:30 -07:00
pgp_public_key.txt Use PHP implementation of Cowsay for cowsay rule 2015-09-13 12:27:30 -07:00
README Use PHP implementation of Cowsay for cowsay rule 2015-09-13 12:27:30 -07:00
Wrap.pm.diff Use PHP implementation of Cowsay for cowsay rule 2015-09-13 12:27:30 -07:00

===========
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 (tony@nog.net)

$Id: README,v 1.3 2000/05/28 06:24:46 tony Exp $