From owner-freebsd-questions Mon Feb 25 8: 4:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.mango-bay.com (mail.mango-bay.com [208.206.15.12]) by hub.freebsd.org (Postfix) with ESMTP id 43C4B37B405 for ; Mon, 25 Feb 2002 08:04:20 -0800 (PST) Received: from barbish ([63.70.155.121]) by mail.mango-bay.com (Post.Office MTA v3.5.3 release 223 ID# 0-52377U2500L250S0V35) with SMTP id com; Mon, 25 Feb 2002 11:08:49 -0500 From: "Joe & Fhe Barbish" To: "Scott M. Nolde" Cc: "FBSDQ" Subject: RE: Simple script ? Date: Mon, 25 Feb 2002 11:04:16 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20020225094817.A29826@smnolde.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal 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 Sure it would be, I would not have to install the portupgrade port which uses ruby a dependent port. That sure is a lot of disk space just to replace one FTP command. -----Original Message----- From: Scott M. Nolde [mailto:scott@smnolde.com] Sent: Monday, February 25, 2002 9:48 AM To: Joe & Fhe Barbish Cc: FBSDQ Subject: Re: Simple script ? 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