[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ftp> get bash-2.05b-static.tgz "| pkg_add -v -" doesn't work!
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: ftp> get bash-2.05b-static.tgz "| pkg_add -v -" doesn't work!
- From: Charlie Root <root_(_at_)_kryptos_(_dot_)_cannings_(_dot_)_org>
- Date: Tue, 9 Mar 2004 18:54:23 -0700 (MST)
as per pkg_add(1) man page:
"For
example, the following works:
...more text...
ftp> get m4-1.4.tgz "|pkg_add -v -"
"
which now does:
ftp> get bash-2.05b-static.tgz "| pkg_add -v -"
local: | pkg_add -v - remote: bash-2.05b-static.tgz
227 Entering Passive Mode (129,128,5,191,164,175)
150 Opening BINARY mode data connection for bash-2.05b-static.tgz (1216775 bytes).
Can't find -
ftp: | pkg_add -v -: short write
426 Network seems to have barfed - Let's all phone our ISP and go postal!
4344 bytes received in 3.09 seconds (1.37 KB/s)
ftp> get bash-2.05b-static.tgz
local: bash-2.05b-static.tgz remote: bash-2.05b-static.tgz
227 Entering Passive Mode (129,128,5,191,164,219)
150 Opening BINARY mode data connection for bash-2.05b-static.tgz (1216775 bytes).
100% |**************************************************| 1188 KB 01:04
226 Wow, that seems to have worked.
1216775 bytes received in 64.93 seconds (18.30 KB/s)
BTW: the space between "|" and "pkg_add" doesn't make a difference. I tried it with both.
(now get me out of mail(1))
Visit your host, monkey.org