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 /ËlÃ¦n.kÃ¦stÉr/ is a charter city in northern Los Angeles County, in the Antelope Valley of the western Mojave Desert in Southern California. As of 2013, Lancaster was the 31st largest city in California. Lancaster is part of a twin city complex with its southern neighbor Palmdale and together they are the principal cities within the Antelope Valley region and California's High Desert. Lancaster is located approximately 70 miles (110 km) north (by highway) of downtown Los Angeles, near the Kern County line. It is separated from the Los Angeles Basin by the San Gabriel Mountains to the south, and from Bakersfield and the San Joaquin Valley by the Tehachapi Mountains to the north.