[net.unix-wizards] Way to do multiple-host copies?

stein (01/14/83)

#R:omsvax:-32400:fortune:11600009:000:417
fortune!stein    Jan 13 17:39:00 1983

There is a command called `uusend' in 4.1BSD that will send a binary file
along a multiple site path, subject to the following caveats: uusend must
exist at each system along the path (with remote execution permitted by
uux), and some incarnations of uux have a bug that munges object files.  I
don't know whether this command exists in non-Berkeley distributions.

				Mark Stein
				{megatest, harpo}!fortune!stein

hansen (01/14/83)

The uucp in System 5 does exactly what you asked for, being able to bounce
uucp requests off another machine that allows it. For instance, doing

	uucp foo a!b!c!d!e!f!~/bar/foo 

is perfectly legal.
					Sincerely,
					Tony Hansen
					pegasus!hansen

P.S. And who says that USG hasn't been doing anything decent with Unix?

chris.umcp-cs@UDel-Relay (03/05/83)

From:  Chris Torek <chris.umcp-cs@UDel-Relay>

We have a local hack called ``makescript'' (actually, we have 2 of
them: one is a script, the other a C program) which makes an 'sh'
shell script of any number of source/binary files, to be mailed
to any other site and run there.  For binarys, it ``uuencode''s them
and runs ``uudecode'' via the script; for other files, it uses sed
to extract them.  (We chose not to use ``cat'' because some mailers
do funny things with lines starting with ``.''.)  So the guy receiving
programs gets something like:

: Run this shell script with "sh" not "csh"
sed -e 's/^X//' << 'go.sysin dd *' > file1.c
Xmain ()
X{
X}
go.sysin dd *
uudecode - << 'go.sysin dd *'
file1.o 644		*** or whatever uudecode needs
@23498235ABEU85HIUEQIGE8IUFMFQM85QWRIU
'go.sysin dd *'

Since uudecode and uuencode live in /usr/ucb, I suspect they're
Berkeley's hacks.  Anyway, this lets us send arbitrary chunks of
file system to others via mail.