Unix command to see Carriage Returns within a specific range of rows in a large sequential file

Is there a way to view output of several lines within a very large file to check for carriage return or other special characters?
iBincAsked:
Who is Participating?
 
Kevin Brown-GoebelerInformatic Security AnalystCommented:
cat -A will show all special characters in a text file.  usage cat -A filename
Tabs appear as ^I
Line feeds as ^L
Carriage return as ^H
EOL as $

Then you can filter with grep for the pattern you're looking for.
0
 
Dr. KlahnPrincipal Software EngineerCommented:
Are the lines (a) contiguous and (b) always in the same location or found easily by inspecting the file content?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.