In vi, you can remove carriage return ( ^M ) characters with the following command: :1,$s/^M//g. Note: To input the ^M character, press Ctrl-v, and then press Enter or return. In vim, use :set ff=unix to convert to Unix; use :set ff=dos to convert to Windows.
Sponsored Topics. Lancaster is a city in Dallas County, Texas, United States. The population was 25,894 at the 2000 census. Locally, Lancaster is pronounced LANK-ist-er or LANK-us-ter, it is often mispronounce as LAN-CAS-ter. Lancaster is a suburb of Dallas, Texas and is part of the Best Southwest area, which includes Lancaster, Cedar Hill, DeSoto, and Duncanville.
Lancaster is a city in Schuyler County, Missouri, in the United States. As of the 2010 census, the city population was 728. It is the county seat of Schuyler County. Lancaster is part of the Kirksville Micropolitan Statistical Area.