/usr/share/fish/man/man1/and.1 is in fish-common 2.2.0-3.
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 "and" 1 "Wed Dec 16 2015" "Version 2.2.0" "fish" \" -*- nroff -*-
.ad l
.nh
.SH NAME
\fBand\fP -- conditionally execute a command
.PP
.SS "Synopsis"
.PP
.nf
COMMAND1; \fBand\fP COMMAND2
.fi
.PP
.SS "Description"
\fCand\fP is used to execute a command if the current exit status (as set by the last previous command) is 0\&.
.PP
\fCand\fP does not change the current exit status\&.
.PP
The exit status of the last foreground command to exit can always be accessed using the \fC$status\fP variable\&.
.SS "Example"
The following code runs the \fCmake\fP command to build a program\&. If the build succeeds, \fCmake\fP's exit status is 0, and the program is installed\&. If either step fails, the exit status is 1, and \fCmake clean\fP is run, which removes the files created by the build process\&.
.PP
.PP
.nf
\fBmake\fP; \fBand\fP \fBmake\fP install; \fBor\fP \fBmake\fP clean
.fi
.PP
|