fortune-cs/man/fortune-cs.6
2024-07-02 08:16:46 -04:00

42 lines
1 KiB
Groff

.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