i'm trying use grep find string tabs, carriage returns, & new lines. other method helpful also.
grep -r "\x0a\x0d\x09<p><b>site info</b></p>\x0a\x0d\x09<blockquote>\x0a\x0d\x09\x09<p>\x0a\x0d\x09</blockquote>\x0a\x0d</blockquote>\x0a\x0d<blockquote>\x0a\x0d\x09<p><b>more site info</b></p>" *
from answer
if using gnu grep, can use perl-style regexp:
$ grep -p '\t' * also here
use ctrl+v, ctrl+m enter literal carriage return character grep string. so:
grep -iur --color "^m" will work - if ^m there literal cr input suggested.
if want list of files, want add -l option well.
Comments
Post a Comment