Clean up

From Nasqueron Agora
Revision as of 13:54, 16 November 2018 by Dereckson (talk | contribs) (Created page with "== Style == === EOL at EOF === There is a need for a blank line at end of file. You can add them with <code>echo</code>. <source source="console"> $ git ls-files | while rea...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Style

EOL at EOF

There is a need for a blank line at end of file.

You can add them with echo.

$ git ls-files | while read f; do tail -n1 $f | read -r _ || echo >> $f; done

UNIX lines

$ dos2unix

Encoding

$ iconv -f iso-8859-15 -t utf-8