version 1.6, 1998/05/13 10:33:24 |
version 1.7, 1998/09/23 04:32:33 |
|
|
.Nm apply |
.Nm apply |
.Op Fl a Ns Ar c |
.Op Fl a Ns Ar c |
.Op Fl Ns Ar # |
.Op Fl Ns Ar # |
.Ar command argument ... |
.Ar command argument |
|
.Op Ar ... |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm Apply |
.Nm apply |
runs the named |
runs the named |
.Ar command |
.Ar command |
on each |
on each |
|
|
in |
in |
.Ar command , |
.Ar command , |
where |
where |
.Dq Li d |
.Sq Li d |
is a digit from 1 to 9, are replaced by the |
is a digit from 1 to 9, are replaced by the |
.Li d Ns \'th |
.Li d Ns \'th |
following unused |
following unused |
|
|
.Pp |
.Pp |
If any sequences of |
If any sequences of |
.Dq Li \&%d |
.Dq Li \&%d |
occur in command, the |
occur in |
|
.Ar command , |
|
the |
.Fl # |
.Fl # |
option is ignored. |
option is ignored. |
.It Fl a Ns Ar c |
.It Fl a Ns Ar c |
The use of the character |
The use of the character |
.Dq Li % |
.Sq Li % |
as a magic character may be changed with the |
as a magic character may be changed with the |
.Fl a |
.Fl a |
option. |
option. |
|
|
links all files in the current directory to the directory |
links all files in the current directory to the directory |
.Pa /usr/joe . |
.Pa /usr/joe . |
.El |
.El |
.Sh Files |
.Sh FILES |
.Bl -tag -width /bin/sh -compact |
.Bl -tag -width /bin/sh -compact |
.It Pa /bin/sh |
.It Pa /bin/sh |
Default shell |
default shell |
.El |
.El |
.Sh AUTHOR |
.Sh AUTHOR |
Rob Pike |
Rob Pike |