On Thu, Apr 12, 2007 at 10:44:52AM -0400, Dan Farrell wrote:
> Wait, so every time documentation is inaccurate or incomplete or simply
> not to your liking, you're going to call it a bug

``incorrect documentation is a bug''
 --http://www.openbsd.org/papers/opencon06-culture.pdf

> (of the application no less!)?

He never said it was the application's fault, just that `file1',
`file2', ... are shell expanded by the remote host, but the
documentation does not point this out.

How about something like below?  (I don't love the wording, but
hopefully it's a start.)

Index: scp.1
===================================================================
RCS file: /cvs/src/usr.bin/ssh/scp.1,v
retrieving revision 1.40
diff -u -r1.40 scp.1
--- scp.1       18 Jul 2006 07:56:28 -0000      1.40
+++ scp.1       12 Apr 2007 15:47:32 -0000
@@ -58,6 +58,8 @@
 .Pp
 Any file name may contain a host and user specification to indicate
 that the file is to be copied to/from that host.
+The file name component of such an argument is also passed
+to the specified host's login shell for expansion and splitting.
 Copies between two remote hosts are permitted.
 .Pp
 The options are as follows:

Reply via email to