Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 1997 21:43:24 -0800 (PST)
From:      Snob Art Genre <ben@narcissus.ml.org>
To:        Randy DuCharme <randyd@nconnect.net>
Cc:        questions@freebsd.org
Subject:   Re: any sh or bash gurus out there?
Message-ID:  <Pine.NEB.3.95.970225213228.4206A-100000@narcissus.ml.org>
In-Reply-To: <3313C9C7.2781E494@nconnect.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <zahare@narcissus.ml.org>, 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."




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970225213228.4206A-100000>