From owner-freebsd-security Tue Mar 13 16: 4: 7 2001 Delivered-To: freebsd-security@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 585B037B718 for ; Tue, 13 Mar 2001 16:04:03 -0800 (PST) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id BAA51503; Wed, 14 Mar 2001 01:03:59 +0100 (CET) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: dannyman Cc: freebsd-security@FreeBSD.ORG Subject: Re: Sophos "idefetch" script References: <20010313151512.Q3500@dell.dannyland.org> From: Dag-Erling Smorgrav Date: 14 Mar 2001 01:03:58 +0100 In-Reply-To: dannyman's message of "Tue, 13 Mar 2001 15:15:12 -0800" Message-ID: Lines: 17 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org dannyman writes: > http://www.dannyland.org/~dannyman/warez/idefetch > > If you can make it better, please share. ;) Try this on for size: idesite="http://www.sophos.com/downloads/ide/" idedir="/usr/local/sav" fetch="/usr/bin/fetch" ${fetch} -q -o - "${idesite}list.txt" | cut -c 37- | while read d ; do ${fetch} -m -q -o ${idedir} "${idesite}${d}" done DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message