Someone mentioned one last week, but I dont remember the name of the
program.
Basically need a prg that strips the ^M and other MS crap from txt files
Thanks
-John
On Wed, 28 Apr 1999, linux wrote:
Someone mentioned one last week, but I dont remember the name of the
program.
Basically need a prg that strips the ^M and other MS crap from txt files
You don't need a special program for this. Try:
perl -pe 's/\r$//' input output
Perl is fun! Whee!!!
I always just use joe, although any text editor would work. I do a search
and replace, replacing ^M with nothing.
On Wed, 28 Apr 1999, linux wrote:
Someone mentioned one last week, but I dont remember the name of the
program.
Basically need a prg that strips the ^M and other MS crap from
Or you could
substitute "filename" for your file
cat filename | tr -d '\15' newfilename
-Original Message-
From: Shane Kerr [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 28, 1999 10:39 AM
To: linux
Cc: Mailing List
Subject: Re: need a prg like dos2unix
On Wed, 28 Apr 1999,
Where is also a ^Z at the end of the file, that
you may want to get rid of.
/Klas
-Original Message-
From: Molenda, Mark P [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 28, 1999 4:48 PM
To: 'Shane Kerr'
Cc: '[EMAIL PROTECTED]'
Subject: RE: need a prg like dos2unix
Or
Sorry for the off-topic post, but I did feel the need to defend myself.
:)
#define FLAME_ON
On Wed, 28 Apr 1999, Matthew Kirkwood wrote:
On Wed, 28 Apr 1999, Shane Kerr wrote:
You don't need a special program for this. Try:
perl -pe 's/\r$//' input output
Perl is fun! Whee!!!
Here... let me drag us even further off course.
On Wed, 28 Apr 1999, Shane Kerr wrote:
Sorry for the off-topic post, but I did feel the need to defend myself.
:)
[snip]
kerr@bang [~/work]time tr -d '\15' shani.tmp2 /dev/null
real0m2.925s
user0m2.603s
sys 0m0.283s
Well, I've tried to run ELKS on my palmtop and I don't know if I'm having
success.
I use Steffen Gabel's bootelks which needs a kernel image and a *clean*
vector interrupt image.
The kernel it's ok, I compiled it from last source. The problem is with the
vector interrupt image, because I don't