help-gnu-utils
[Top][All Lists]
Advanced

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

Re: carriage-return?


From: Mike
Subject: Re: carriage-return?
Date: Wed, 24 Nov 2004 22:53:08 GMT
User-agent: slrn/0.9.7.4 (Linux)

In article <87y8grorix.wl%volker@ixolution.de>, Volker Dormeyer wrote:
>  //> On Wed, 24 Nov 2004 20:40:51 GMT,
>  //> Mike <mikee@mikee.ath.cx> wrote:
> 
>  mike> I'm writing some m4 stuff on unix that is shared to windows
>  mike> through samba. I want to put the carriage-return at the end so
>  mike> things look right to dos. How do I emit a carriage-return?
> 
> I would suggest to use a tool like "unix2dos" for something like
> this. However, if you don't have such a tool: Press ^v (means
> Control-v), then press Enter after each line in vi. Depending on the vi-mode
> you use, you will see a ^M character, then. If you are using GNU Emacs
> press ^q instead of ^v.
> 
> The file should be readable in DOS as usual, then.
> 
> Regards,
> Volker
> 

That may be my only way to do this (^v). Thanks for the suggestion.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]