1998-02-25 05:54:20 +01:00
|
|
|
|
.\" Copyright (c) 1983, 1990, 1993
|
|
|
|
|
.\" The Regents of the University of California. All rights reserved.
|
|
|
|
|
.\"
|
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
|
.\" are met:
|
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
|
.\" This product includes software developed by the University of
|
|
|
|
|
.\" California, Berkeley and its contributors.
|
|
|
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
|
.\"
|
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
|
.\"
|
|
|
|
|
.\" @(#)apply.1 8.2 (Berkeley) 4/4/94
|
2004-09-24 08:50:37 +02:00
|
|
|
|
.\" %FreeBSD: src/usr.bin/apply/apply.1,v 1.15 2004/07/17 04:04:30 tjr Exp %
|
2002-08-11 21:49:11 +02:00
|
|
|
|
.\" $FreeBSD$
|
1998-02-25 05:54:20 +01:00
|
|
|
|
.\"
|
2004-09-24 08:50:37 +02:00
|
|
|
|
.Dd July 17, 2004
|
1998-02-25 05:54:20 +01:00
|
|
|
|
.Dt APPLY 1
|
2001-08-17 08:18:17 +02:00
|
|
|
|
.Os
|
1998-02-25 05:54:20 +01:00
|
|
|
|
.Sh ̾<EFBFBD><EFBFBD>
|
|
|
|
|
.Nm apply
|
|
|
|
|
.Nd <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ν<EFBFBD><EFBFBD><EFBFBD><EFBFBD>˥<EFBFBD><EFBFBD>ޥ<EFBFBD><EFBFBD>ɤ<EFBFBD>Ŭ<EFBFBD>Ѥ<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Nm apply
|
1999-12-08 14:40:41 +01:00
|
|
|
|
.Op Fl a Ar c
|
|
|
|
|
.Op Fl d
|
|
|
|
|
.Op Fl #
|
|
|
|
|
.Ar command argument ...
|
1998-02-25 05:54:20 +01:00
|
|
|
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2000-12-19 02:35:02 +01:00
|
|
|
|
.Nm
|
2002-08-11 21:49:11 +02:00
|
|
|
|
<EF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
|
|
|
|
|
.Ar command
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD>Ϥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>θĿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD>ο<EFBFBD><EFBFBD>ͤ<EFBFBD> 0 <20>ΤȤ<CEA4><C8A4>ϡ<EFBFBD><CFA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʤ<EFBFBD><CAA4><EFBFBD>
|
|
|
|
|
.Ar command
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Ar argument
|
|
|
|
|
<EFBFBD>ˤĤ<EFBFBD> 1 <20>¹Ԥ<C2B9><D4A4><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
|
|
|
|
.Pp
|
1999-05-08 03:44:48 +02:00
|
|
|
|
<EFBFBD>⤷
|
|
|
|
|
.Ar command
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Sq Li \&%d
|
1998-02-25 05:54:20 +01:00
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ä<EFBFBD><EFBFBD><EFBFBD><EFBFBD>硢
|
|
|
|
|
.Fl #
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD>ץ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̵<EFBFBD>뤵<EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
1999-12-08 14:40:41 +01:00
|
|
|
|
.It Fl a Ar c
|
1998-02-25 05:54:20 +01:00
|
|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FBD><EFBFBD>
|
1999-12-08 14:40:41 +01:00
|
|
|
|
.Nm
|
1998-02-25 05:54:20 +01:00
|
|
|
|
<EFBFBD>μ¹Ԥ˱ƶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD>:
|
|
|
|
|
.Bl -tag -width SHELL
|
|
|
|
|
.It Ev SHELL
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><EFBFBD><EFBFBD> shell <20>Υѥ<CEA5>̾<EFBFBD>Ǥ<EFBFBD><C7A4><EFBFBD>
|
1999-12-21 23:01:26 +01:00
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD>ʤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Bourne <20><><EFBFBD><EFBFBD><EFBFBD>뤬<EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
1998-02-25 05:54:20 +01:00
|
|
|
|
.El
|
|
|
|
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Bl -tag -width apply -compact
|
|
|
|
|
.It Li "apply echo a*"
|
1999-05-08 03:44:48 +02:00
|
|
|
|
.Xr ls 1
|
|
|
|
|
<EFBFBD>˻<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϥˤʤ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
1998-02-25 05:54:20 +01:00
|
|
|
|
.It Li "apply \-2 cmp a1 b1 a2 b2 a3 b3"
|
|
|
|
|
`a' <20>Υե<CEA5><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> `b' <20>Υե<CEA5><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӥ<EFBFBD><D3A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|
|
|
|
.It Li "apply \-0 who 1 2 3 4 5"
|
1999-05-08 03:44:48 +02:00
|
|
|
|
.Xr who 1
|
|
|
|
|
<EFBFBD><EFBFBD> 5 <20><><EFBFBD>¹Ԥ<C2B9><D4A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
1998-02-25 05:54:20 +01:00
|
|
|
|
.It Li "apply \'ln %1 /usr/joe\'" *
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȥǥ<EFBFBD><EFBFBD>쥯<EFBFBD>ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƤΥե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǥ<EFBFBD><EFBFBD>쥯<EFBFBD>ȥ<EFBFBD>
|
|
|
|
|
.Pa /usr/joe
|
|
|
|
|
<EFBFBD>˥<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.El
|
|
|
|
|
.Sh <EFBFBD><EFBFBD>Ϣ<EFBFBD>ե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Bl -tag -width /bin/sh -compact
|
|
|
|
|
.It Pa /bin/sh
|
|
|
|
|
<EFBFBD>ǥե<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD> shell <20>Ǥ<EFBFBD><C7A4><EFBFBD>
|
|
|
|
|
.El
|
|
|
|
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
1998-07-19 16:12:57 +02:00
|
|
|
|
.An Rob Pike
|
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