text-mode editor for xml

Kurt Wall kwall at kurtwerks.com
Tue Mar 3 20:02:07 PST 2009


On Tue, Mar 03, 2009 at 03:32:26PM -0600, vu pham wrote:
> I have to edit an xml file in raw format. This file has almost no CR/LF  
> and put all keys with their brackets in one line.
> Does vi has option to reformat it with appropriate cr/lf so it is easier  
> to read ? Or any other text editor ?
>
> Btw, it must in in text mode, not X.

sed, perl, or python or any text processing language. I wouldn't want
to do this interactively.

Kurt
-- 
Some scholars are like donkeys, they merely carry a lot of books.
		-- Folk saying



More information about the Linux-users mailing list