On 13 Jan 11:20, Jonathan Ballet wrote:
> You're right, Unix based systems use only the line feed (LF) control
> character (which is represented by "\r" in Vim, BTW).
> You might want to read this [1] for further explanations.
Actually, LF is \n, CR is \r (\r being "return", short for carriage
Hi,
Le Sat, 12 Jan 2008 20:30:25 -0800 (PST), ocgstyles
<[EMAIL PROTECTED]> a écrit :
> I need to do that often at work when Windows files are moved over to
> AIX. I just use vi. The key sequence is:
>
> :%s/^M//
If you want to mimic dos2unix, you should use
:%s/^M$//
because
I need to do that often at work when Windows files are moved over to
AIX. I just use vi. The key sequence is:
:%s/^M//
To create the ^M character, press Ctrl+V, then M. I'm not sure what
that character is (never bothered to look), but I think may be that
extra control character that Windows
On 12-Jan-08, at 10:12 PM, crybaby wrote:
> What is the fastest way to remove ^M from every files in main project
> folder and apps folders. Doing it by hand seems time consuming. Is
> there a simple script take care of this? if I just leave the ^M in
> python code, would it cause problems?
On 12 Jan 17:47, Lars Stavholm wrote:
>
> crybaby wrote:
> > What is the fastest way to remove ^M from every files in main project
> > folder and apps folders. Doing it by hand seems time consuming. Is
> > there a simple script take care of this? if I just leave the ^M in
> > python code,
crybaby wrote:
> What is the fastest way to remove ^M from every files in main project
> folder and apps folders. Doing it by hand seems time consuming. Is
> there a simple script take care of this? if I just leave the ^M in
> python code, would it cause problems?
If you're on a Linux box
What is the fastest way to remove ^M from every files in main project
folder and apps folders. Doing it by hand seems time consuming. Is
there a simple script take care of this? if I just leave the ^M in
python code, would it cause problems?
7 matches
Mail list logo