How to Remove All Non-ascii Content From a Workflow (File) Apr 17th, 2021 | Comments grep remove lines 1 grep --colour='auto' -P '[^\x00-\x7]' file tr remove characters 1 LC_ALL=C tr -dc '\0-\177' <file >newfile ignore Invalid or incomplete multibyte or wide character 1 cat $file|iconv -f utf8 -c -t ascii//IGNORE