Posted on September 21, 2015 by adminfixing dos/windows files under unix open in vi :set ff=unix re-save the file Symptoms: At the bottom of vi: [noeol][dos] OR file is full of ^M ^M ^M garbage