One-liner for finding non-ASCII characters
# Linux
$ grep --color='auto' -P -n "[\x80-\xFF]" file.js
# Mac OS X after 'brew install pcre'
$ pcregrep --color='auto' -n "[\x80-\xFF]" file.js
One-liner for finding non-ASCII characters
# Linux
$ grep --color='auto' -P -n "[\x80-\xFF]" file.js
# Mac OS X after 'brew install pcre'
$ pcregrep --color='auto' -n "[\x80-\xFF]" file.js
Thanks, this worked great for me on a mac. 😸