[CentOS] to <cr> or not

Johnny Hughes mailing-lists at hughesjr.com
Thu Mar 2 01:05:27 UTC 2006


On Wed, 2006-03-01 at 19:44 -0500, Robert Moskowitz wrote:
> At 05:45 PM 3/1/2006, Adam Gibson wrote:
> >Les Mikesell wrote:
> >>On Wed, 2006-03-01 at 11:23, Bowie Bailey wrote:
> >>>>In the old days with real vi, you would:
> >>>>:%s/^v^m//
> >>>>to get rid of them, but vim doesn't like that.
> >>>It depends on how Vim recognizes the file.  If Vim displays the file
> >>>as a DOS file, it will hide the ^M and you can't search for it.
> >>>If Vim displays the file as a unix file, it will show the ^M at the
> >>>end of the line and you can search and replace it with the command
> >>>shown above.
> 
> Hey, thanks for all of the info on DOS and Unix file editing and all 
> the things that CAN go wrong if you are NOT careful.
> 
> So I have been careful to stay consistant.  As much as I can....
> 

I have found that if I install CentOS on all my machines that used to
run windows ... I have a fairly consistent UNIX only set of text
files ...

Just one of many suggestions :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060301/c325ac7b/attachment.sig>


More information about the CentOS mailing list