[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Stupid Question: Striping Dos ^M From Texts



-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 5 Jun 1997, Curt Howland wrote:

> Somewhere in the dank recesses of my mind, I recall
> a utility that would strip the extra ^M's from a
> text file copied to a unix box. Well, it seems that
> Linux also considers these ^M's extranious, is there
> such a standard utility or do I have to dig even 
> deeper to remember sed/awk/grep commands?  :^>

The sysutils package contains the dos2unix (and unix2dos) commands which
will convert files in-place.  No need for wierd sed/awk/perl constructs.

+------------------------------------------------------------------------+
|                    |      Your friends will know you better in the     |
|   Scott K. Ellis   |   first minute you meet than your acquaintances   |
|   storm@gate.net   |         will know you in a thousand years.        |
|                    |                    -- Illusions                   |
+------------------------------------------------------------------------+

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3
Charset: noconv

iQCVAwUBM5eDe6Ck2fENdzpVAQHT+QQAjMKFjofDJ8SPB876ezZsyagkCdgLF7c+
RuL/dapLEZyvdQyB0w7Gjn/edBbgLJ9iD3MWp/yPWz2K13WuWBtl88jqNAGwlTtS
bya6ScoioLg8QrdkexBcxcYfGaekIKwM+PnL0dk3a99S1V+BFJh/5xYkfiVvePcj
ubAqzRYq5+0=
=czIV
-----END PGP SIGNATURE-----


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: