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.
The ratio of number of residents in Lancaster to the number of sex offenders is 714 to 1. The number of registered sex offenders compared to the number of residents in this city is smaller than the state average. Nearest city with pop. 50,000+: Dallas, TX (13.7 miles , pop. 1,188,580).