Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { printf '%*s' "179"; printf 'x81'; printf '%*s' "20"; } >infile
- $ isutf8 infile
- infile: line 1, char 1, byte offset 180: invalid UTF-8 code
- $ isutf8 ./*.py | grep "offset 180"
- $ isutf8 ./*.py | grep -E "offset (17|18)"
- $ find . -iname "*.py" -type f -exec bash -c 'isutf8 "$1" | grep -E "offset (17|18)"' Find {} ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement