144 lines
		
	
	
	
		
			3.9 KiB
		
	
	
	
		
			Groff
		
	
	
	
	
	
			
		
		
	
	
			144 lines
		
	
	
	
		
			3.9 KiB
		
	
	
	
		
			Groff
		
	
	
	
	
	
| .\" 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
 | |
| .\" %FreeBSD: src/usr.bin/apply/apply.1,v 1.14 2002/04/19 23:16:06 charnier Exp %
 | |
| .\" $FreeBSD$
 | |
| .\"
 | |
| .Dd April 4, 1994
 | |
| .Dt APPLY 1
 | |
| .Os
 | |
| .Sh ̾¾Î
 | |
| .Nm apply
 | |
| .Nd °ú¿ô¤Î½¸¹ç¤Ë¥³¥Þ¥ó¥É¤òŬÍѤ¹¤ë
 | |
| .Sh ½ñ¼°
 | |
| .Nm apply
 | |
| .Op Fl a Ar c
 | |
| .Op Fl d
 | |
| .Op Fl #
 | |
| .Ar command argument ...
 | |
| .Sh ²òÀâ
 | |
| .Nm
 | |
| ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢
 | |
| »ØÄꤵ¤ì¤¿¥³¥Þ¥ó¥É
 | |
| .Ar command
 | |
| ¤Ë¡¢³Æ°ú¿ô
 | |
| .Ar argument
 | |
| ¤ò½çÈÖ¤ËÍ¿¤¨¤Æ¼Â¹Ô¤·¤Þ¤¹¡£
 | |
| .Pp
 | |
| .Ar command
 | |
| Æâ¤Ë
 | |
| .Dq Li \&%d
 | |
| ¤Î·Á¤ò¤·¤¿Ê¸»úÎ󤬤¢¤Ã¤¿¾ì¹ç¤Ë¤Ï (¤³¤³¤Ç
 | |
| .Sq Li d
 | |
| ¤Ï 1 ¤«¤é 9 ¤Þ¤Ç¤Î¿ô»ú)¡¢¤³¤ì¤é¤Ï̤»ÈÍѤΰú¿ô
 | |
| .Ar argument
 | |
| ¤Î¤¦¤Á¤Î
 | |
| .Li d
 | |
| ÈÖÌܤΤâ¤Î¤ÈÃÖ¤´¹¤¨¤é¤ì¤Þ¤¹¡£
 | |
| ¤³¤Î¤È¤
 | |
| .Ar command
 | |
| ¤Î¼Â¹Ô¤´¤È¤ËºÇÂç¤Î
 | |
| .Dq Li d
 | |
| ¤Î¿ô¤À¤±°ú¿ô¤Ï¼Î¤Æ¤é¤ì¤Þ¤¹¡£
 | |
| .Pp
 | |
| ¥ª¥×¥·¥ç¥ó¤Ï°Ê²¼¤Î¤â¤Î¤¬¤¢¤ê¤Þ¤¹:
 | |
| .Bl -tag -width indent
 | |
| .It Fl #
 | |
| Ä̾ï¤Ï°ú¿ô¤Ï°ì¤Ä¤·¤«ÅϤµ¤ì¤Þ¤»¤ó¡£¥ª¥×¥·¥ç¥ó
 | |
| .Fl #
 | |
| ¤Ç
 | |
| .Ar command
 | |
| ¤ËÅϤµ¤ì¤ë°ú¿ô¤Î¸Ä¿ô¤ò»ØÄê¤Ç¤¤Þ¤¹¡£
 | |
| ¤³¤Î¿ôÃͤ¬ 0 ¤Î¤È¤¤Ï¡¢°ú¿ô¤Ê¤·¤Ç
 | |
| .Ar command
 | |
| ¤¬°ú¿ô
 | |
| .Ar argument
 | |
| ¤Ë¤Ä¤ 1 ²ó¡¢¼Â¹Ô¤µ¤ì¤Þ¤¹¡£
 | |
| .Pp
 | |
| ¤â¤·
 | |
| .Ar command
 | |
| Æâ¤Ë
 | |
| .Sq Li \&%d
 | |
| ¤¬¤¢¤Ã¤¿¾ì¹ç¡¢
 | |
| .Fl #
 | |
| ¥ª¥×¥·¥ç¥ó¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£
 | |
| .It Fl a Ar c
 | |
| ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥Þ¥¸¥Ã¥¯¥¥ã¥é¥¯¥¿¤È¤·¤Æ
 | |
| .Dq Li %
 | |
| ¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢¤³¤ì¤Ï
 | |
| .Fl a
 | |
| ¥ª¥×¥·¥ç¥ó¤ÇÊѹ¹¤¬¤Ç¤¤Þ¤¹¡£
 | |
| .It Fl d
 | |
| ¼Â¹Ô¤µ¤ì¤ë¤Ï¤º¤À¤Ã¤¿¥³¥Þ¥ó¥É¤òɽ¼¨¤·¤Þ¤¹¤¬¡¢¼ÂºÝ¤Ë¤Ï¼Â¹Ô¤·¤Þ¤»¤ó¡£
 | |
| .El
 | |
| .Sh ´Ä¶ÊÑ¿ô
 | |
| °Ê²¼¤Î´Ä¶ÊÑ¿ô¤¬
 | |
| .Nm
 | |
| ¤Î¼Â¹Ô¤Ë±Æ¶Á¤·¤Þ¤¹:
 | |
| .Bl -tag -width SHELL
 | |
| .It Ev SHELL
 | |
| ÍøÍѤ¹¤ë shell ¤Î¥Ñ¥¹Ì¾¤Ç¤¹¡£
 | |
| ¤³¤ÎÊÑ¿ô¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï Bourne ¥·¥§¥ë¤¬»È¤ï¤ì¤Þ¤¹¡£
 | |
| .El
 | |
| .Sh »ÈÍÑÎã
 | |
| .Bl -tag -width apply -compact
 | |
| .It Li "apply echo a*"
 | |
| .Xr ls 1
 | |
| ¤Ë»÷¤¿½ÐÎϤˤʤê¤Þ¤¹¡£
 | |
| .It Li "apply \-2 cmp a1 b1 a2 b2 a3 b3"
 | |
| `a' ¤Î¥Õ¥¡¥¤¥ë¤È `b' ¤Î¥Õ¥¡¥¤¥ë¤òÈæ³Ó¤·¤Þ¤¹¡£
 | |
| .It Li "apply \-0 who 1 2 3 4 5"
 | |
| .Xr who 1
 | |
| ¤ò 5 ²ó¼Â¹Ô¤·¤Þ¤¹¡£
 | |
| .It Li "apply \'ln %1 /usr/joe\'" *
 | |
| ¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥êÆâ¤ÎÁ´¤Æ¤Î¥Õ¥¡¥¤¥ë¤ò¥Ç¥£¥ì¥¯¥È¥ê
 | |
| .Pa /usr/joe
 | |
| ¤Ë¥ê¥ó¥¯¤·¤Þ¤¹¡£
 | |
| .El
 | |
| .Sh ´ØÏ¢¥Õ¥¡¥¤¥ë
 | |
| .Bl -tag -width /bin/sh -compact
 | |
| .It Pa /bin/sh
 | |
| ¥Ç¥Õ¥©¥ë¥È¤Î shell ¤Ç¤¹¡£
 | |
| .El
 | |
| .Sh ºî¼Ô
 | |
| .An Rob Pike
 | |
| .Sh ¥Ð¥°
 | |
| .Ar command
 | |
| Æâ¤Ë shell ¤Î¥á¥¿¥¥ã¥é¥¯¥¿¤ò»ÈÍѤ¹¤ë¤È¡¢°Û¾ï¤Êưºî¤ò¤¹¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£
 | |
| Ê£»¨¤Ê¥³¥Þ¥ó¥É¤Ï¥·¥ó¥°¥ë¥¯¥©¡¼¥È
 | |
| .Pq ''
 | |
| ¤Ç³ç¤ë¤Î¤¬¥Ù¥¹¥È¤Ç¤¹¡£
 | |
| .Sh Îò»Ë
 | |
| .Nm
 | |
| ¥³¥Þ¥ó¥É¤Ï
 | |
| .Bx 4.2
 | |
| ¤«¤éÅо줷¤Þ¤·¤¿¡£
 |