Re: [gdb] crash

From: Daniel Koepke (dkoepke@california.com)
Date: 02/17/97


On Sun, 16 Feb 1997, Alex wrote:

> On Sun, 16 Feb 1997, Jason VanRooyen wrote:
> > Yeah, those ^M's are irritating.  They can really throw things off.
> > Be careful of them, especially in define statements over one line
> > long.  You'll need to get them all.
> > 
> Ftp'ing in ascii mode will correct this, as will dos2unix programs.
> Linux should have one of them built in.

Also, 'tr' and many editors. For 'tr', it seems:

  cat > new.filename | tr -d \r < old.filename

works. There might be a better way (and it's quite possible the above
is wrong, but it's off the top of my head, so give me some slack :)).
As far as editors, my personal fave (joe) can do it by using 'find'
(ctrl+k-f), pressing ` then ctrl+M, choosing replace, and then not
typing anything. It will highlight the first ^M, at which point you
press 'R' (for replace Rest) and ta-da, they're all gone.


--
Daniel Koepke
dkoepke@california.com
Forgive me father, for I am sin.


+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
|    Or send 'info circle' to majordomo@cspo.queensu.ca     |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST