Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2002 09:35:19 -0500
From:      "Joe & Fhe Barbish" <barbish@a1poweruser.com>
To:        "FBSDQ" <questions@FreeBSD.ORG>
Subject:   Simple script ?
Message-ID:  <LPBBIGIAAKKEOEJOLEGOMEMJCIAA.barbish@a1poweruser.com>

next in thread | raw e-mail | index | archive | help
I have the following script that I call getpackage.
I want to change it so I can say getpackage misc/ytree-1.74.tgz
or any other directory/file name and it will be substituted in the ftp
command.

How do I do this?



#! /bin/sh

ftp -a -v
ftp5.FreeBSD.org:/pub/FreeBSD/releases/i386/4.4-RELEASE/packages/misc/ytree-
1.74.tgz



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LPBBIGIAAKKEOEJOLEGOMEMJCIAA.barbish>