From owner-freebsd-questions@FreeBSD.ORG Thu Apr 17 19:59:01 2003 Return-Path: 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 F21C437B401 for ; Thu, 17 Apr 2003 19:59:00 -0700 (PDT) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B1F143FE3 for ; Thu, 17 Apr 2003 19:58:59 -0700 (PDT) (envelope-from kline@thought.org) Received: from thought.org (root@tao [10.0.0.247]) by sage.thought.org (8.12.9/8.11.4) with ESMTP id h3I2wskh006756; Thu, 17 Apr 2003 19:58:54 -0700 (PDT) (envelope-from kline@thought.org) Received: (from kline@localhost) by thought.org (8.12.6/8.11.3) id h3I2wqZx003205; Thu, 17 Apr 2003 19:58:52 -0700 (PDT) (envelope-from kline) Date: Thu, 17 Apr 2003 19:58:51 -0700 From: Gary D Kline To: Giorgos Keramidas Message-ID: <20030418025851.GB2639@tao.thought.org> References: <200304151041.57911.a.carter@intrasoft.lu> <20030415180909.GC72565@joloxbox.joshualokken.com> <20030415203906.GB95873@tao.thought.org> <20030415213930.GA51229@happy-idiot-talk.infracaninophi> <20030415223439.GF95873@tao.thought.org> <20030417194231.GA16675@gothmog.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030417194231.GA16675@gothmog.gr> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 16 years of service to the Unix community User-Agent: Mutt/1.5.3i cc: freebsd-questions@freebsd.org Subject: Re: dos2unix??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 02:59:01 -0000 On Thu, Apr 17, 2003 at 10:42:31PM +0300, Giorgos Keramidas wrote: > On 2003-04-15 15:34, Gary D Kline wrote: > >On Tue, Apr 15, 2003 at 10:39:31PM +0100, Matthew Seaman wrote: > > > > PS: with 'tr' I would havde to run it more than once... > > Or pass arguments like: > > $ tr '\222\223' "''" > > :) > This works, too, thanks. I tried this but with only "'" rather than "''". Seems to me that he double quotes would have served, but no-joy. After messing around (aka plying-in-my-sandbox:) I found that "\'" works. By this time I could've written a C prog with getchar() to do the job. Ah what a life! gary -- Gary Kline kline@thought.org www.thought.org Public service Unix