[vorbis-dev] merging monty's branch

Mark Janssen maniac at markjanssen.homeip.net
Tue May 29 05:21:42 PDT 2001



On Tue, May 29, 2001 at 10:19:08PM +1000, Michael Smith wrote:
> For reference, the easy way to do this using only standard unix tools 
> (assuming that you know you're running it on a normal text file, a more
> complete solution is possible using sed, but that's a little more complex)
> is to use "tr -d '\015'" (or something like that).

Or in your favority vi clone:

Go to command mode (ESC)
1,$s/
//g

(To get the ^M Type CTRL-V, CTRL-M)

Work's like a charm... but just 1 file at a time... But it's handy to know when
you are allready in a vi(m) session and you notice it's a dos file. :)

Mark Janssen                         Unix Consultant @ SyConOS IT
E-mail: maniac at markjanssen.nl              GnuPG Key Id: 357D2178
http: maniac.nl, unix-god.[net|org], markjanssen.[com|net|org|nl]
Fax/VoiceMail: +31 84 8757555         Finger for GPG and GeekCode

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list