Clear all non-ASCII characters of file.txt
:
$ iconv -c -f utf-8 -t ascii file.txt
$ strings file.txt
More Related Contents:
- How can I manipulate text in bash? [closed]
- How can I do a recursive find/replace of a string with awk or sed?
- Bash tool to get nth line from a file
- How to merge every two lines into one from the command line?
- sed search and replace strings containing / [duplicate]
- Recursively rename files using find and sed
- Error when using ‘sed’ with ‘find’ command on OS X: “invalid command code .”
- How to add to the end of lines containing a pattern with sed or awk?
- How to replace an entire line in a text file by line number
- Using sed to mass rename files
- Insert newline (\n) using sed
- How do you echo a 4-digit Unicode character in Bash?
- How to use a bash script variable with sed [duplicate]
- Error with sed unterminated s command in bash
- Escaping forward slashes in sed command [duplicate]
- Convert line endings [duplicate]
- Getting “sed error – illegal byte sequence” (in bash) [duplicate]
- Indenting heredocs with spaces
- Extract version number from a string
- how to delete the duplicate lines in file except the first matched line
- Grep output with multiple Colors?
- Using SED with wildcard
- How to insert a new line character after a fixed number of characters in a file
- escaping newlines in sed replacement string
- How to replace paired square brackets with other syntax with sed?
- using bash (sed/awk) to extract rows AND columns in CSV files?
- Preserving leading white space while reading>>writing a file line by line in bash
- How to delete rows from a csv file based on a list values from another file?
- Utility to extract dates from filenames in Bash?
- How to grep for case insensitive string in a file?