Make quotes visible in example of the manual page of fstab-decode
[sysvinit.git] / man / fstab-decode.8
1 .\" A man page for fstab-decode(8).
2 .\"
3 .\" Copyright (C) 2006 Red Hat, Inc. All rights reserved.
4 .\"
5 .\" This copyrighted material is made available to anyone wishing to use,
6 .\" modify, copy, or redistribute it subject to the terms and conditions of the
7 .\" GNU General Public License v.2.
8 .\"
9 .\" This program is distributed in the hope that it will be useful, but WITHOUT
10 .\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 .\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 .\" more details.
13 .\"
14 .\" You should have received a copy of the GNU General Public License along
15 .\" with this program; if not, write to the Free Software Foundation, Inc.,
16 .\" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 .\"
18 .\" Author: Miloslav Trmac <mitr@redhat.com>
19 .TH fstab-decode 8 "May 2006"
20
21 .SH NAME
22 fstab-decode \- run a command with fstab-encoded arguments
23
24 .SH SYNOPSIS
25 \fBfstab-decode\fR \fICOMMAND\fR [\fIARGUMENT\fR]...
26
27 .SH DESCRIPTION
28 .B fstab-decode
29 decodes escapes in the specified \FIARGUMENT\fRs
30 and uses them to run \fICOMMAND\fR.
31 The argument escaping uses the same rules as path escaping in
32 \fB/etc/fstab\fR,
33 .B /etc/mtab
34 and \fB/proc/mtab\fR.
35
36 .SH EXIT STATUS
37 .B fstab-decode
38 exits with status 127 if
39 .I COMMAND
40 can't be run.
41 Otherwise it exits with the status returned by \fICOMMAND\fR.
42
43 .SH EXAMPLES
44 .nf
45 .B fstab-decode umount $(awk \[aq]$3 == \[dq]vfat\[dq] { print $2 }\[aq] /etc/fstab)
46 .fi