aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-07-04 09:39:37 +0200
committerMattias Andrée <maandree@operamail.com>2012-07-04 09:39:37 +0200
commit404b144c796ac51c3ca03aa7a2a7de9468938a42 (patch)
tree8dee6d20d9ef034b3ee66c26f960416996327ea9
parent4aa332d15994425b871202bcaeb17b8f900cfbb0 (diff)
downloadponysay-404b144c796ac51c3ca03aa7a2a7de9468938a42.tar.gz
ponysay-404b144c796ac51c3ca03aa7a2a7de9468938a42.tar.bz2
ponysay-404b144c796ac51c3ca03aa7a2a7de9468938a42.zip
adding manpage from github.com/kragniz/debian
-rw-r--r--Makefile3
-rw-r--r--manpage.657
2 files changed, 60 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3ae7314..fceafe5 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 0000000..0e598ac
--- /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 <n> 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<whatever>\fP and
+.\" \fI<whatever>\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ş <erkinbatu@gmail.com>.
+.PP
+This manual page was written by Louis Taylor <kragniz@gmail.com>,
+for the Debian project (and may be used by others).