From owner-freebsd-questions Mon Feb 25 6:48:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smnolde.com (att-98-60-141.atl.mediaone.net [24.98.60.141]) by hub.freebsd.org (Postfix) with ESMTP id EC88437B402 for ; Mon, 25 Feb 2002 06:48:18 -0800 (PST) Received: from bsd ([192.168.10.7] helo=bsd.smnolde.com) by smnolde.com with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.30 #1) id 16fMQM-000MKl-00; Mon, 25 Feb 2002 09:48:18 -0500 Received: from scott by bsd.smnolde.com with local (Exim 3.33 #1) id 16fMQL-0007o1-00; Mon, 25 Feb 2002 09:48:17 -0500 Date: Mon, 25 Feb 2002 09:48:17 -0500 From: "Scott M. Nolde" To: Joe & Fhe Barbish Cc: FBSDQ Subject: Re: Simple script ? Message-ID: <20020225094817.A29826@smnolde.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from barbish@a1poweruser.com on Mon, Feb 25, 2002 at 09:35:19AM -0500 X-Disclaimer: If you can read this you're looking for too much Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Would it be any different than pkg_fetch(1)? Joe & Fhe Barbish(barbish@a1poweruser.com)@2002.02.25 09:35:19 +0000: > 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 > -- Scott Nolde GPG Key 0xD869AB48 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message