Please sign in to comment.
checked all .rb files in the project tree for missing magic comments,…
… one was missing Came with this one-liner for this: find . -name '*.rb' | \ xargs chardet | \ grep -v ascii | \ cut -d: -f1 -s | \ xargs -n1 ruby -0777 -ne 'puts $FILENAME if $_ !~ /#.*coding:\s*utf/i' Welcome $_.
- Loading branch information...
Showing with 3 additions and 1 deletion.