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 was capital of Pennsylvania from 1799 to 1812, after which the capital was moved to Harrisburg. In 1851, the current Lancaster County Prison was built in the city, styled after Lancaster Castle in England.