On Sat, 2005-11-19 at 11:18 +0100, Nicolas Mailhot wrote:
Le vendredi 18 novembre 2005 à 19:16 -0800, Pete Zaitcev a écrit :
> On Fri, 18 Nov 2005 22:06:35 -0500, Alan Cox <alan(a)redhat.com> wrote:
>
> > > "only package maintainers do init.d scripts", I also tend to
edit
> > > scripts by hand.
> >
> > Use an XML editor. If its got the DTD/schema/etc then it won't let you
> > make a mistake and it can present the document in a sane manner. Any
> > document..
>
> Any suggestions for one which actually works and is not emacs?
Just use vim for syntax highlighting and xmllint to check the result.
100% light-weight CLI solution.
Not in a recovery situation where /usr is unavailable, though. We could
move libxml2, zlib, and xmllint to / to make it available. I don't
think that moving /usr/share/vim to / is advisable, though, so syntax
highlighting probably won't work....
-Toshio