/usr/share/fish/man/man1/else.1 is in fish-common 2.4.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | .TH "else" 1 "Sun Dec 11 2016" "Version 2.4.0" "fish" \" -*- nroff -*-
.ad l
.nh
.SH NAME
\fBelse\fP -- execute command if a condition is not met
.PP
.SS "Synopsis"
.PP
.nf
\fBif\fP CONDITION; COMMANDS_TRUE\&.\&.\&.; [\fBelse\fP; COMMANDS_FALSE\&.\&.\&.;] \fBend\fP
.fi
.PP
.SS "Description"
\fCif\fP will execute the command \fCCONDITION\fP\&. If the condition's exit status is 0, the commands \fCCOMMANDS_TRUE\fP will execute\&. If it is not 0 and \fCelse\fP is given, \fCCOMMANDS_FALSE\fP will be executed\&.
.SS "Example"
The following code tests whether a file \fCfoo\&.txt\fP exists as a regular file\&.
.PP
.PP
.nf
\fBif\fP \fBtest\fP -f foo\&.txt
\fBecho\fP foo\&.txt exists
\fBelse\fP
\fBecho\fP foo\&.txt does not exist
\fBend\fP
.fi
.PP
|