From a98944708cdd577b67a397e55c9b8efc3175c988 Mon Sep 17 00:00:00 2001 From: Valerie Date: Tue, 2 Jul 2024 08:16:46 -0400 Subject: [PATCH] created manual --- man/fortune-cs.6 | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 man/fortune-cs.6 diff --git a/man/fortune-cs.6 b/man/fortune-cs.6 new file mode 100644 index 0000000..b70a99d --- /dev/null +++ b/man/fortune-cs.6 @@ -0,0 +1,42 @@ +.Dd $Mdocdate$ +.Dt FORTUNE-CS 6 +.Os +.Sh NAME +.Nm fortune-cs +.Nd a no-nonsense fortune cookie program +.Sh SYNOPSIS +.Nm fortune-cs +.Op Ar source +.Nm fortune-cs +.Op Fl hlv +.Nm fortune-cs +.Fl m Ar file1 Ar file2 +.Sh DESCRIPTION +.Nm fortune-cs +is a sensible, straightforward replacement for +.Xr fortune 6 . Its options are as follows: +.Bl -tag -width Ds +.It Fl h , Fl -help +Shows a brief help text. +.It Fl l , Fl -list +Lists files in the fortune directory +.Po Ev FORTUNE_CS_DIR +.It Fl m , Fl -merge Ar files... +Prints all distinct lines from the provided files to standard output. +.It Fl v , Fl -version +Shows version information. +.Sh ENVIRONMENT +.Bl -tag -width Ds +.It Ev FORTUNE_CS_DIR +Any existing directory. This sets the base directory to pull fortunes from. Default: +.Pa /usr/share/fortune-cs +.Sh FILES +.Bl -tag -width Ds +.It Pa /usr/share/fortune-cs/ +The default fortune directory, containing text files with one line per fortune. +.El +.Sh SEE ALSO +.Xr fortune 6 +.Sh AUTHORS +.An -nosplit +.An Valerie Wolfe Aq Mt sleeplessval@gmail.com