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.
About 40,000 residents call the town home. Lancaster is part of the 26th U.S. Congressional District, the 59th New York State Senate District, the 143rd New York State Assembly and the 5th and 8th Erie County Legislative Districts. A five member Town Board administers all Town business and is presided over by the Town Supervisor. More Information.