FTP
kai at uicsrd.csrd.uiuc.edu
kai at uicsrd.csrd.uiuc.edu
Fri Apr 21 22:35:00 AEST 1989
/* Written 8:58 am Apr 20, 1989 by rsalz at bbn.com in uicsrd.csrd.uiuc.edu:comp.unix.wizards */
> You can save a few lines if you replace #!/bin/sh with "#! /usr/ucb/ftp -n"
This doesn't work. When you use "#! /path" at the beginning of a script, the
BSD Unix passes the name of the script to the program "/path" as a command
line argument, not connected to standard input. Ftp doesn't support this.
Patrick Wolfe (pat at kai.com, kailand!pat)
System Manager, Kuck & Associates, Inc.
More information about the Comp.unix.wizards
mailing list