1 '\" -*- coding: UTF-8 -*-
2 .\" A man page for fstab-decode(8).
4 .\" Copyright (C) 2006 Red Hat, Inc. All rights reserved.
6 .\" This copyrighted material is made available to anyone wishing to use,
7 .\" modify, copy, or redistribute it subject to the terms and conditions of the
8 .\" GNU General Public License v.2.
10 .\" This program is distributed in the hope that it will be useful, but WITHOUT
11 .\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 .\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 .\" You should have received a copy of the GNU General Public License along
16 .\" with this program; if not, write to the Free Software Foundation, Inc.,
17 .\" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 .\" Author: Miloslav Trmac <mitr@redhat.com>
20 .TH fstab-decode 8 "May 2006"
23 fstab-decode \- run a command with fstab-encoded arguments
26 \fBfstab-decode\fR \fICOMMAND\fR [\fIARGUMENT\fR]...
30 decodes escapes in the specified \FIARGUMENT\fRs
31 and uses them to run \fICOMMAND\fR.
32 The argument escaping uses the same rules as path escaping in
39 exits with status 127 if
42 Otherwise it exits with the status returned by \fICOMMAND\fR.
46 .B fstab-decode umount $(awk \[aq]$3 == \[dq]vfat\[dq] { print $2 }\[aq] /etc/fstab)