[8028] in Athena Bugs

home help back first fref pref prev next nref lref last post

vax 7.2R: rcp (patch included)

daemon@ATHENA.MIT.EDU (ckclark@ATHENA.MIT.EDU)
Sat Aug 24 14:54:21 1991

From: ckclark@ATHENA.MIT.EDU
Date: Sat, 24 Aug 91 14:54:37 -0400
To: jtkohl@ATHENA.MIT.EDU
Cc: marc@ATHENA.MIT.EDU, bugs@ATHENA.MIT.EDU
In-Reply-To: John T Kohl's message of Sat, 24 Aug 91 00:41:27 -0400 <9108240441.AA27453@e40-008-6.MIT.EDU>
Reply-To: ckclark@mit.edu

>>>>> On Sat, 24 Aug 91 00:41:27 -0400, John T Kohl <jtkohl@ATHENA.MIT.EDU> said:

	John> Calvin,

	John> I believe (based on desk checking) your patch will break uses of rshd
	John> that have the remote process spit out output for local processing, such
	John> as:
	John> rsh foo "(cd directory; tar cf - .)"|(cd bar; tar xpBfv -)
	John> [this copies a directory hierarchy]

	John> John

This particular example worked when I tested it.  My attitude toward the
patch I submitted is that it is a bit risky, and should only be applied
if enough people feel strongly about the quoting.  The proper fix would
be to fix the shell.  Even though your example does not demonstrate
breakage, I think it's possible to come up with something that can, and
the quoting difficulties are not significant enough to warrant taking
that risk.  I merely provided it as an alternative.

-Calvin

home help back first fref pref prev next nref lref last post