Closed AnaTofuZ closed 3 years ago
$nkf --guess exampleSite/content/blog/post_1.md ASCII (LF) $ nkf --guess layouts/index.html ASCII (CRLF) $ nkf --guess layouts/partials/meta.html ASCII (LF)
This theme is mix in new line code CRLF and LF. It was unified into LF.
find . -type f | xargs file | grep CRLF | awk -F: '{print $1}' | xargs nkf -Lu --overwrite
PROBLEM
This theme is mix in new line code CRLF and LF. It was unified into LF.
HOW TO FIX
find . -type f | xargs file | grep CRLF | awk -F: '{print $1}' | xargs nkf -Lu --overwrite