I have a file that possibly contains bad formatting (in this case, the occurrence of the pattern \\\\backslash). I would like to use grep to return
\\\\backslash
grep
try:
grep -n "text to find" file.ext | cut -f1 -d: