=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/apply/apply.1,v retrieving revision 1.20 retrieving revision 1.21 diff -c -r1.20 -r1.21 *** src/usr.bin/apply/apply.1 2003/06/10 09:12:09 1.20 --- src/usr.bin/apply/apply.1 2005/05/15 16:22:12 1.21 *************** *** 1,4 **** ! .\" $OpenBSD: apply.1,v 1.20 2003/06/10 09:12:09 jmc Exp $ .\" $NetBSD: apply.1,v 1.4 1996/03/18 23:16:57 jtc Exp $ .\" .\" Copyright (c) 1983, 1990, 1993 --- 1,4 ---- ! .\" $OpenBSD: apply.1,v 1.21 2005/05/15 16:22:12 jaredy Exp $ .\" $NetBSD: apply.1,v 1.4 1996/03/18 23:16:57 jtc Exp $ .\" .\" Copyright (c) 1983, 1990, 1993 *************** *** 39,48 **** .Sh SYNOPSIS .Nm apply .Op Fl Ar # - .Op Fl a Ar magic .Op Fl d ! .Ar command argument ! .Op Ar ... .Sh DESCRIPTION .Nm runs the named --- 39,47 ---- .Sh SYNOPSIS .Nm apply .Op Fl Ar # .Op Fl d ! .Op Fl a Ar magic ! .Ar command argument ... .Sh DESCRIPTION .Nm runs the named *************** *** 58,64 **** where .Sq d is a digit from 1 to 9, are replaced by the ! .Li d Ns \'th following unused .Ar argument . In this case, the largest digit number of arguments are discarded for --- 57,63 ---- where .Sq d is a digit from 1 to 9, are replaced by the ! .Li d Ns 'th following unused .Ar argument . In this case, the largest digit number of arguments are discarded for *************** *** 105,134 **** default shell .El .Sh EXAMPLES ! .Li "$ apply echo a*" .Pp ! Similar to ! .Xr ls 1 . .Pp ! .Li "$ apply \-2 cmp a1 b1 a2 b2 a3 b3" ! .Pp ! Compares the ! .Dq a files to the ! .Dq b ! files. .Pp ! .Li "$ apply \-0 who 1 2 3 4 5" .Pp ! Runs .Xr who 1 ! 5 times. .Pp ! .Li "$ apply \'ln %1 /usr/joe\'" * .Pp ! Links all files in the current directory to the directory ! .Pa /usr/joe . .Sh SEE ALSO .Xr xargs 1 .Sh HISTORY The --- 104,134 ---- default shell .El .Sh EXAMPLES ! Operate similar to ! .Xr ls 1 : .Pp ! .Dl "$ apply echo a*" .Pp ! Compare the ! .Pa a* files to the ! .Pa b* ! files: .Pp ! .Dl "$ apply -2 cmp a1 b1 a2 b2 a3 b3" .Pp ! Run .Xr who 1 ! five times: .Pp ! .Dl "$ apply -0 who 1 2 3 4 5" .Pp ! Link all files in the current directory to the directory ! .Pa /home/joe : ! .Pp ! .Dl "$ apply 'ln %1 /home/joe'" * .Sh SEE ALSO + .Xr sh 1 , .Xr xargs 1 .Sh HISTORY The