.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)apply.1 6.1 (Berkeley) %G%
apply \- apply a command to a set of arguments
Normally arguments are chosen singly; the optional number
specifies the number of arguments to be passed to
is run without arguments once for each
Character sequences of the form %\fId\fP
\fId\fP'th following unused
If any such sequences occur,
and the number of arguments passed to
The character `%' may be changed by the
apply \-2 cmp a1 b1 a2 b2 ...
compares the `a' files to the `b' files;
apply \(aaln %1 /usr/joe\(aa *
links all files in the current directory to the directory /usr/joe.
may have bizarre effects; it is best to enclose complicated
commands in single quotes \(aa\ \(aa.
There is no way to pass a literal `%2' if `%' is the
argument expansion character.