Skip to main content

grep cool new technique with special character

grep suck with some special characters like this "1-Piston Calipers;"

grep -Fn => -F make input search pattern as fixed string.

grep -Fn --text treat input file as text, so avoid binary matches result.

Example result:

1-Piston Calipers; Oversized�Caliper...


https://stackoverflow.com/questions/23512852/grep-binary-file-matches-how-to-get-normal-grep-output

https://stackoverflow.com/questions/12387685/grep-for-special-characters-in-unix


https://stackoverflow.com/questions/32564046/php-detect-the-character-encoding-of-the-file-system

Comments