From owner-freebsd-questions Tue Feb 25 21:43:47 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA16640 for questions-outgoing; Tue, 25 Feb 1997 21:43:47 -0800 (PST) Received: from narcissus.ml.org (root@brosenga.Pitzer.edu [134.173.120.201]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA16635 for ; Tue, 25 Feb 1997 21:43:44 -0800 (PST) Received: from localhost (ben@localhost) by narcissus.ml.org (8.7.5/8.7.3) with SMTP id VAA04231; Tue, 25 Feb 1997 21:43:24 -0800 (PST) Date: Tue, 25 Feb 1997 21:43:24 -0800 (PST) From: Snob Art Genre To: Randy DuCharme cc: questions@freebsd.org Subject: Re: any sh or bash gurus out there? In-Reply-To: <3313C9C7.2781E494@nconnect.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 25 Feb 1997, Randy DuCharme wrote: > Snob Art Genre wrote: > > > > Why don't you ftp the files to yourself in ascii mode? > > I never thought/knew that would strip it off. I just tried and it > worked like a charm. Thank you! Sure. Actually, the idea was Zahare Kazi's , as he read over my shoulder. Smart guy, that Zahare. That is in fact the whole point of the ascii mode of FTP -- when in ascii mode it makes the appropriate adjustments to newlines, while binary mode just sends the data through untouched. Now that I think about it, there's a GNU utility called flip that does exactly what you wanted. Hmm, I wouldn't be surprised if it's findable at ftp.gnu.ai.mit.edu, or whatever their FTP server is called (I think that's it). > > Alternately, see the unix FAQ, which covers just this sort of thing, and > > man xargs. > > Looking for the FAQ as I'm writing this. > > Thanks again > > -- > Randall D. DuCharme email: randyd@nconnect.net > Systems Engineer Free your Machine > Computer Specialists **** FreeBSD **** > 414-259-9998 414-253-9919 (fax) Turning PCs into Workstations > Ben "You have your mind on computers, it seems."