If the file does consist of very long lines, for reading it, you could force periodic line wraps (formatting): fmt whatever.xml | lessīut actually, less will wrap the lines by default unless you tell it not to. To just view the file without even the possibility of editing it: less whatever.xml Press Ctrl-C to stop if it starts spewing garbage. However, be warned: It is possible to have an entire 50 MB XML file consisting of a single line. This will show you the first ten lines of the file. Not by file extension, but by actual examination of the contents. This will tell you what type the file is. Some suggested starting points (where "whatever.xml" is the name of the file): file whatever.xml For this, you should use the command line. Depending on the source of the file, you may wish to investigate its contents in other ways than just opening it (double clicking).
0 Comments
Leave a Reply. |