summaryrefslogtreecommitdiff
path: root/usr.bin/ftp
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-01-03 15:01:35 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-01-03 15:01:35 +0000
commitd9c9471a0e30f4b326ef157ee68a1093ca5b4770 (patch)
treeedaf99a63b9536872eb532812ede644c86d96fbf /usr.bin/ftp
parent6ff750d88b167004f579013b7aab4c07c5fc7a47 (diff)
use an example of nmap `outpattern' containing spaces that works;
Diffstat (limited to 'usr.bin/ftp')
-rw-r--r--usr.bin/ftp/ftp.19
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/ftp/ftp.1 b/usr.bin/ftp/ftp.1
index a6045e277fa..050f4e45333 100644
--- a/usr.bin/ftp/ftp.1
+++ b/usr.bin/ftp/ftp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ftp.1,v 1.45 2005/01/03 14:47:52 jmc Exp $
+.\" $OpenBSD: ftp.1,v 1.46 2005/01/03 15:01:34 jmc Exp $
.\" $NetBSD: ftp.1,v 1.22 1997/08/18 10:20:22 lukem Exp $
.\"
.\" Copyright (c) 1985, 1989, 1990, 1993
@@ -680,10 +680,11 @@ and
for the input filename
.Pa .myfile .
Spaces may be included in
-.Ar outpattern ,
-as in the example
+.Ar outpattern
+by quoting them,
+as in the following example:
.Bd -literal -offset indent
-nmap $1 sed "s/ *$//" > $1
+nmap $1.$2 "$1 $2"
.Ed
.Pp
Use the