From owner-freebsd-questions@FreeBSD.ORG Mon May 14 19:06:03 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 38A6B16A402 for ; Mon, 14 May 2007 19:06:03 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by mx1.freebsd.org (Postfix) with ESMTP id 1353813C483 for ; Mon, 14 May 2007 19:06:02 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from localhost (localhost [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id 7B024682E06A8; Mon, 14 May 2007 12:07:52 -0700 (PDT) X-Virus-Scanned: amavisd-new at mi.celestial.com Received: from ayn.mi.celestial.com ([127.0.0.1]) by localhost (ayn.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QgTthdJlPufx; Mon, 14 May 2007 12:07:52 -0700 (PDT) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id 5E6E66800D1FB; Mon, 14 May 2007 12:07:52 -0700 (PDT) Date: Mon, 14 May 2007 12:07:52 -0700 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20070514190752.GA11110@ayn.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20070512195437.GA92218@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070512195437.GA92218@thought.org> User-Agent: Mutt/1.5.11 OpenPKG/2.5 Subject: Re: what's the easiest way to de-html-ize files? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2007 19:06:03 -0000 On Sat, May 12, 2007, Gary Kline wrote: > > > This is for those of us who appreciate ASCII or straight > ISO_8859-15 rather than marked up files. I have slapped together > a crude C program that does scotch (or *cleanse*) text of > and so on. Still... is there some standalone converter > that gets rids of markup more elegantly? Something where i > can say The ``lynx'' text browser can generate plain text from HTML. lynx -dump -force_html filename Bill -- INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 In Germany they first came for the Communists and I didn't speak up because I wasn't a Communist. Then they came for the Jews, and I didn't speak up because I wasn't a Jew. Then they came for the trade unionists, and I didn't speak up because I wasn't a trade unionist. Then they came for the Catholics, and I didn't speak up because I was a Protestant. Then they came for me -- and by that time no one was left to speak up. -- Pastor Martin Niemoller