apply.1 (3d1a01487ac99da152f985897c3ddb9eee30ce63) apply.1 (6c7216df785592bb069469113f556dfd1946ed5d)
1.\" Copyright (c) 1983, 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 91 unchanged lines hidden (view full) ---

100.Sh ENVIRONMENT
101The following environment variable affects the execution of
102.Nm :
103.Bl -tag -width SHELL
104.It Ev SHELL
105Pathname of shell to use.
106If this variable is not defined, the Bourne shell is used.
107.El
1.\" Copyright (c) 1983, 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 91 unchanged lines hidden (view full) ---

100.Sh ENVIRONMENT
101The following environment variable affects the execution of
102.Nm :
103.Bl -tag -width SHELL
104.It Ev SHELL
105Pathname of shell to use.
106If this variable is not defined, the Bourne shell is used.
107.El
108.Sh FILES
109.Bl -tag -width /bin/sh -compact
110.It Pa /bin/sh
111default shell
112.El
108.Sh EXAMPLES
109.Bl -tag -width apply -compact
110.It Li "apply echo a*"
111is similar to
112.Xr ls 1 ;
113.It Li "apply \-2 cmp a1 b1 a2 b2 a3 b3"
114compares the `a' files to the `b' files;
115.It Li "apply \-0 who 1 2 3 4 5"
116runs
117.Xr who 1
1185 times; and
119.It Li "apply \'ln %1 /usr/joe\'" *
120links all files in the current directory to the directory
121.Pa /usr/joe .
122.El
113.Sh EXAMPLES
114.Bl -tag -width apply -compact
115.It Li "apply echo a*"
116is similar to
117.Xr ls 1 ;
118.It Li "apply \-2 cmp a1 b1 a2 b2 a3 b3"
119compares the `a' files to the `b' files;
120.It Li "apply \-0 who 1 2 3 4 5"
121runs
122.Xr who 1
1235 times; and
124.It Li "apply \'ln %1 /usr/joe\'" *
125links all files in the current directory to the directory
126.Pa /usr/joe .
127.El
123.Sh FILES
124.Bl -tag -width /bin/sh -compact
125.It Pa /bin/sh
126default shell
127.El
128.Sh HISTORY
129The
130.Nm
131command appeared in
132.Bx 4.2 .
128.Sh AUTHORS
129.An Rob Pike
130.Sh BUGS
131Shell metacharacters in
132.Ar command
133may have bizarre effects; it is best to enclose complicated
134commands in single quotes
135.Pq '' .
136.Pp
137The
138.Nm
139utility does not recognize multibyte characters.
133.Sh AUTHORS
134.An Rob Pike
135.Sh BUGS
136Shell metacharacters in
137.Ar command
138may have bizarre effects; it is best to enclose complicated
139commands in single quotes
140.Pq '' .
141.Pp
142The
143.Nm
144utility does not recognize multibyte characters.
140.Sh HISTORY
141The
142.Nm
143command appeared in
144.Bx 4.2 .