Viewing control characters in a text file
Hello, Could someone please recommend the best way to find special characters in a text file? I have a file that contains some end-of-line characters that we must allow for in an application being developed. I thought this could either be done using vi editor or one of the text-formatting utilities.
Thanks for your help, Don |
man od
--- rod. |
You can use Midnight Commander (mc) to search/view/edit the file. It allows you to view/edit the hex/ascii values at the same time. You should probably determine the hex value(s) in question and then search the file for that value (instead of searching the ascii value).
|
All times are GMT -5. The time now is 02:53 AM. |