From owner-freebsd-questions@FreeBSD.ORG Mon Jun 20 21:02:01 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2758516A41C for ; Mon, 20 Jun 2005 21:02:01 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from mail.efacilitas.de (efacilitas.de [213.133.110.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8BF843D4C for ; Mon, 20 Jun 2005 21:02:00 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from eurystheus.local (port-212-202-169-37.dynamic.qsc.de [212.202.169.37]) by mail.efacilitas.de (Postfix) with ESMTP id D310E123999; Mon, 20 Jun 2005 23:00:21 +0200 (CEST) Received: from localhost (eurystheus.local [192.168.1.67]) by eurystheus.local (Postfix) with ESMTP id 596C212B13D; Mon, 20 Jun 2005 23:00:26 +0200 (CEST) Received: from eurystheus.local ([192.168.1.67]) by localhost (eurystheus.locaL [192.168.1.67]) (amavisd-new, port 10024) with ESMTP id 93666-04; Mon, 20 Jun 2005 23:00:18 +0200 (CEST) Received: from [192.168.1.67] (eurystheus.local [192.168.1.67]) by eurystheus.local (Postfix) with ESMTP id 37B2F12B0EB; Mon, 20 Jun 2005 23:00:18 +0200 (CEST) Message-ID: <42B72E61.8050204@cs.tu-berlin.de> Date: Mon, 20 Jun 2005 23:00:17 +0200 From: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050517 X-Accept-Language: en-us, en MIME-Version: 1.0 To: brianjohn@fusemail.com References: <1099.209.87.176.4.1119272748.fusewebmail-19592@webmail.fusemail.com> In-Reply-To: <1099.209.87.176.4.1119272748.fusewebmail-19592@webmail.fusemail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at example.com Cc: freebsd-questions@freebsd.org Subject: Re: utility that will dump a web page to std out? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2005 21:02:01 -0000 Yet some other solutions: with bash: ( printf 'GET / HTTP/1.0\n\n' >&3 & cat 0<&3 ) 3<> /dev/tcp/www.freebsd.org/80 with netcat: printf 'GET / HTTP/1.0' | nc www.freebsd.org 80 Björn