[RFC] Using tidy to clean up profiles.

Thomas Pegg thomasp at linuxfromscratch.org
Tue Jun 22 18:07:02 PDT 2004

As suggested by Kevin in a previous thread, I've looked into using tidy
on the xml of the profiles to clean them up and standardize the
formatting. I have commited a few examples in the BLFS profile. In
paticular in chapter04 heimdal.xml and mitkrb.xml are two files, that
have been run through tidy. I did it only a few files, before a change
like this was committed profile-wide.

The entity reference issue is still a slight problem, the easiest way
I've found to deal with it is sed the &'s back to an &. Around 95%
of the time this works well except were there are actual &'s, in
which case those have to be changed back manually, but since it's in a
minority of the files, it's not a big problem. And really all files have
to be run through tidy one time I think.


LFS User : 4729 
Linux User : 298329 
warpcore - 19:53:22 up 1 day, 2:00, 1 user, load average: 0.23, 0.30,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxfromscratch.org/pipermail/alfs-discuss/attachments/20040622/d8009149/attachment.sig>

More information about the alfs-discuss mailing list