Posh-Cowsay - Cowsay for Windows Powershell
A shell cannot be called civilised until it has a talking cow.
_______________________________ < For POSH users with Unix envy > ------------------------------- \ ^__^ \ (oo)\________ (__)\ )\/\ ||----w | || ||
Based on Tony Monroe's original Unix terminal program cowsay:
Posh-Cowsay exposes a single function cowsay. Any non-option args passed to cowsay are treated as the message:
> cowsay The build is broken
For more examples see the built-in Powershell help:
> get-help cowsay -examples
Posh-Cowsay is a single Powershell Module file with no dependencies. To install it:
Copy cowsay.psm1 into a new folder called cowsay within your modules folder (C:\Users\UserName\Documents\WindowsPowerShell\Modules\cowsay on Windows 7).
Open a new Powershell terminal and import the module
cowsay That was easy ... ish
- Support the modes that the original cowsay supported e.g. XX for the cows eyes.
- Support for arbitary whitespace (the -n option in cowsay).
- A way of dealing with cow files or an equivalent.
- John Kane
- Andrew Thomson
Posh-Cowsay is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Posh-Cowsay is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.