Thank you. They look great.
Save that script someplace :-)
Cheers,
Leif
Jeff Turner wrote:
>On Tue, Aug 13, 2002 at 03:58:27PM +0900, Leif Mortenson wrote:
>
>
>>Jeff Turner wrote:
>>
>>
>>
>>>On Tue, Aug 13, 2002 at 12:06:05PM +0900, Leif Mortenson wrote:
>>>
>>>
>>>
>>>
>>>>Looks like a while bunch of files got checked into the Fortress project
>>>>with bad linefeeds.
>>>>
>>>>
>...
>
>
>>Using a WinXP box with WinCVS, so I haven't needed Cygwin. We had a
>>problem like this in the code base at my last company a year or so ago
>>because we were checking files into CVS incorrectly.
>>
>>
>
>Only thing I know can do this is when someone submits a patch with DOS
>linefeeds and it is committed on a 'nix box, or vice versa. That doesn't
>seem to be the case here.
>
>Anyway, I fixed it with a bit of dodgy shell scripting.
>
>find . -name "*.java" -exec file {} \; | grep CRLF | cut -d: -f 1 > files
>for i in `cat files`; do
> vim -c ":set ff=unix" -c ":wq" $i
>done
>
>
>--Jeff
>
>--
>To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>