From 404b144c796ac51c3ca03aa7a2a7de9468938a42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= Date: Wed, 4 Jul 2012 09:39:37 +0200 Subject: [PATCH] adding manpage from github.com/kragniz/debian --- Makefile | 3 +++ manpage.6 | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 manpage.6 diff --git a/Makefile b/Makefile index 3ae73146..fceafe5f 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,9 @@ install: all mkdir -p "$(DESTDIR)/usr/share/licenses/ponysay/" install "COPYING" "$(DESTDIR)/usr/share/licenses/ponysay/COPYING" + mkdir -p "$(DESTDIR)/usr/share/man/man6" + install "manpage.6" "$(DESTDIR)/usr/share/man/man6/ponysay.6" + uninstall: rm -fr "$(DESTDIR)/usr/share/ponies" rm -fr "$(DESTDIR)/usr/share/ttyponies" diff --git a/manpage.6 b/manpage.6 new file mode 100644 index 00000000..0e598ac8 --- /dev/null +++ b/manpage.6 @@ -0,0 +1,57 @@ +.\" +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH PONYSAY SECTION "April 10, 2012" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +ponysay \- A cowsay wrapper with ponies +.SH SYNOPSIS +.B ponysay +.RI [ options ] [ message ] +.br +.SH DESCRIPTION +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBponysay\fP displays an image of a pony saying some text provided by the user +in a terminal. It is a wrapper for \fIcowsay\fP. If run with no arguments, it +accepts standard input, word-wraps the message given at about 40 columns, and +prints the pony saying the given message on standard output. +.SH OPTIONS +A summary of options is included below. +.TP +.B \-h +Show summary of options. +.TP +.B \-v +Show version of program. +.TP +.B \-l +List ponyfiles +.TP +.B \-f [ name ] +Select a pony (Either a filename or a pony name) +.TP +.B \-W [ column ] +The screen column where the message should be wrapped +.SH SEE ALSO +.BR cowsay (6). +.br +.SH AUTHOR +ponysay was written by Erkin Batu Altunbaş . +.PP +This manual page was written by Louis Taylor , +for the Debian project (and may be used by others).