|
From: | Michael Sims |
Subject: | RE: WINCVS and MSVC problem |
Date: | Fri, 18 Jan 2002 18:32:02 -0600 |
At 04:22 PM 1/18/2002 -0600, Art wrote:
This pretty much keeps me out of trouble (I also instinctly purge DOS file format with ":s/^v^M//", if I'm in regular Unix Vi).
Thanks for this tip! I develop on both Linux and Windows (using different tools) but sometimes I get mixed up and accidentally save as file with CR-LF on Linux. Up until now I've been opening the files up in pico and writing them out (pico automatically fixes the EOL markers) but now I have a way to do it in vi.... I suppose I could even pass that command on the command line to vi...that way I could use find and pipe to xargs to automatically fix EOL markers in an entire directory tree...
Thanks again...
[Prev in Thread] | Current Thread | [Next in Thread] |