authorSergey Poznyakoff <>2018-04-23 10:48:42 (GMT)
committer Sergey Poznyakoff <>2018-04-23 10:48:42 (GMT)
commit822cc3f646945d95ef00b96e881aa67f97b1d7a2 (patch) (side-by-side diff)
parent56edbac842e7a8cd256bf099715265a793c92d55 (diff)
Fix manpage
Diffstat (more/less context) (ignore whitespace changes)
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fileserv.8 b/src/fileserv.8
index 0aecd3c..500e153 100644
--- a/src/fileserv.8
+++ b/src/fileserv.8
@@ -4,25 +4,25 @@
.\" Fileserv 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, or (at your option)
.\" any later version.
.\" Fileserv is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" GNU General Public License for more details.
.\" You should have received a copy of the GNU General Public License
.\" along with fileserv. If not, see <>.
-.TH FILESERV 8 "April 21, 2018" "FILESERV" "User Commands"
+.TH FILESERV 8 "April 23, 2018" "FILESERV" "User Commands"
fileserv \- simple http server for static files
[\fB\-a\fR [\fIIP\fR][\fB:\fIPORT\fR]]\
[\fB\-c\fR \fIFILE\fR]\
[\fB\-g\fR \fIGROUP\fR]\
[\fB\-u\fR \fIUSER\fR]\
[\fIHOST\fB:\fR]\fIURL\fB:\fIDIR\fR ...
A simple and lightweight HTTP server. It serves static files from one
@@ -317,25 +317,25 @@ discussion of its syntax. \fIFILE\fR must be an absolute file name.
\fBindex\-css\fR \fIFILE\fR
Name of the CSS file to use in listings. It will be available in the
\fB$INDEXCSS\fR template variable. \fIFILE\fR must be an absolute file
\fBmime\-icon\fR \fIURL\fR [\fBalt=\fITEXT\fR] \fITYPE\fR [\fITYPE\fR...]
Defines icon to use for files of given MIME types. Each \fITYPE\fR is
treated as globbing pattern (see \fBglob\fR(7)). \fIURL\fR is the
URL of the image file to be displayed for matching files, and \fITEXT\fR
is the alternative text.
\fBname\-icon\fR \fIURL\fR [\fBalt=\fITEXT\fR] \fISUFFIX\fR [\fISUFFIX\fR...]
-Defines icon for to use file names that end in one of the \fISUFFIX\Res. See
+Defines icon for to use file names that end in one of the \fISUFFIX\fRes. See
\fBmime\-icon\fR, for the description of \fIURL\fR and \fITYPE\fR.
\fBtype\-icon\fR \fIURL\fR [\fBalt=\fITEXT\fR] \fITYPE\fR [\fITYPE\fR...]
Defines icon to use for file of the given type. Available \fITYPE\fRs
are: \fBDIRECTORY\fR, for a directory, \fBFILE\fR, for a regular file,
and \fBBLANK\fR, for a blank line.
Listing template file is used to produce directory listings. It is a
normal HTML file, except for the following special constructs:
.BI "{% " STRING " %}"
Replaced with the expansion of \fISTRSING\fR
@@ -357,25 +357,25 @@ replaced with \fITEXT-IF-TRUE\fR, otherwise it is replaced with
Starts main loop. The syntax is:
{% loop %}
.I " TEXT"
{% endloop %}
For each file found in the directory being listed, the loop construct
produces expansion of \fITEXT\fR.
The \fIexpansions\fR performed on strings in template constructs are:
-.Ss Variable expansion
+.SS Variable expansion
Variable expansion replaces each occurrence of
.BI ${ NAME }
with the value of the templave variable \fINAME\fR.
The forms below test for a variable that is unset or null. Omitting the
colon results in a test only for a variable that is unset.
.BI ${ variable :- word }
.BR "Use Default Values" .
If \fIvariable\fR is unset or null, the expansion of \fIword\fR is substituted.
@@ -486,25 +486,25 @@ order.
This function is useful to create listing ordering menu, e.g.:
<a href="?C=N&amp;O={% $(sortorder N) %}">Name</a>
<a href="?C=M&amp;O={% $(sortorder M) %}">Last modified</a>
<a href="?C=S&amp;O={% $(sortorder S) %}">Size</a>
Copyright \(co 2017, 2018 Sergey Poznyakoff
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.\" Local variables:
.\" eval: (add-hook 'write-file-hooks 'time-stamp)
.\" time-stamp-start: ".TH [A-Z_][A-Z0-9_.\\-]* [0-9] \""

Return to:

Send suggestions and report system problems to the System administrator.