BSD 4_2 development
[unix-history] / usr / man / man1 / uux.1c
CommitLineData
abef38b1
C
1.TH UUX 1C "18 January 1983"
2.UC 4
3.SH NAME
4uux \- unix to unix command execution
5.SH SYNOPSIS
6.B uux
7[
8.B \-
9]
10command-string
11.SH DESCRIPTION
12.I Uux
13will gather 0 or more files from various systems,
14execute a command on a specified system
15and send standard output to a file on a specified
16system.
17.PP
18The command-string is made up of one or more arguments that look
19like a shell command line,
20except that the command and file names
21may be prefixed by system-name!.
22A null system-name is interpreted as the local system.
23.PP
24File names may be one of
25.IP
26(1) a full pathname;
27.IP
28(2) a pathname preceded by
29.IR ~xxx ;
30where
31.I xxx
32is a userid on the specified system
33and is replaced by that user's login directory;
34.br
35.IP
36(3) anything else is prefixed by the current directory.
37.PP
38The `\-' option will cause the standard input to the
39.I uux
40command to be the standard input to the command-string.
41.PP
42For example, the command
43.IP
44uux "!diff usg!/usr/dan/f1 pwba!/a4/dan/f1 > !fi.diff"
45.PP
46will get the f1 files from the usg and pwba machines,
47execute a
48.I diff
49command
50and put the results in f1.diff in the local directory.
51.PP
52Any special shell characters such as <>;| should be quoted either
53by quoting the entire command-string, or quoting the special
54characters as individual arguments.
55.SH FILES
56.DT
57/usr/spool/uucp spool directory
58.br
59/usr/lib/uucp/* other data and programs
60.SH SEE ALSO
61uucp(1C)
62.br
63D. A. Nowitz,
64.I Uucp Implementation Description
65.SH WARNING
66An installation may, and for security reasons
67generally will, limit the list of
68commands executable on behalf of an incoming request from
69.IR uux .
70Typically, a restricted site will permit little other than
71the receipt of mail via
72.IR uux .
73.SH BUGS
74Only the first command of a shell pipeline may
75have a system-name!.
76All other commands are executed on the system of the first
77command.
78.br
79The use of the shell metacharacter
80.B *
81will probably not do what you want it to do.
82.br
83The shell tokens << and >> are not implemented.
84.br
85There is no notification of denial of execution
86on the remote machine.