old-www/pub/Linux/docs/ldp-archived/mail_archives/ldp-discuss/msg03697.html

122 lines
4.4 KiB
HTML

<!-- MHonArc v2.5.0b2 -->
<!--X-Subject: Re: Script to de&#45;minimize tags like <tt/this/ -->
<!--X-From-R13: Bnhy Ubegznxre <c_tbegznxreNlnubb.pbz> -->
<!--X-Date: Tue, 22 Aug 2000 04:15:27 &#45;0400 (EDT) -->
<!--X-Message-Id: 39A2327C.292D7717@yahoo.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 39A0F7F7.686093AF@yahoo.com -->
<!--X-Reference: 002101c00b55$7df667c0$2600000a@home -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
<html>
<head>
<title>Re: Script to de-minimize tags like &lt;tt/this/</title>
<link rev="made" href="mailto:p_gortmaker@yahoo.com">
</head>
<body>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
<hr>
[<a href="msg03696.html">Date Prev</a>][<a href="msg03698.html">Date Next</a>][<a href="msg03690.html">Thread Prev</a>][<a href="msg03691.html">Thread Next</a>][<a href="maillist.html#03697">Date Index</a>][<a href="threads.html#03697">Thread Index</a>]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<h1>Re: Script to de-minimize tags like &lt;tt/this/</h1>
<hr>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<ul>
<li><em>To</em>: Jeff Waugh &lt;<A HREF="mailto:jdub@aphid.net">jdub@aphid.net</A>&gt;</li>
<li><em>Subject</em>: Re: Script to de-minimize tags like &lt;tt/this/</li>
<li><em>From</em>: Paul Gortmaker &lt;<A HREF="mailto:p_gortmaker@yahoo.com">p_gortmaker@yahoo.com</A>&gt;</li>
<li><em>Date</em>: Tue, 22 Aug 2000 03:57:48 -0400</li>
<li><em>Cc</em>: <A HREF="mailto:ldp-discuss@lists.linuxdoc.org">ldp-discuss@lists.linuxdoc.org</A></li>
<li><em>References</em>: &lt;<a href="msg03689.html">39A0F7F7.686093AF@yahoo.com</a>&gt; &lt;<a href="msg03690.html">002101c00b55$7df667c0$2600000a@home</a>&gt;</li>
<li><em>Resent-date</em>: Tue, 22 Aug 2000 04:15:27 -0400 (EDT)</li>
<li><em>Resent-from</em>: <A HREF="mailto:ldp-discuss@lists.debian.org">ldp-discuss@lists.debian.org</A></li>
<li><em>Resent-message-id</em>: &lt;0SnBZB.A.LiF.qbjo5@murphy&gt;</li>
<li><em>Resent-sender</em>: <A HREF="mailto:ldp-discuss-request@lists.debian.org">ldp-discuss-request@lists.debian.org</A></li>
<li><em>Sender</em>: paul</li>
</ul>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<hr>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<pre>
&gt; &gt; (Were things
&gt; &gt; like &lt;tt&gt;foobar&lt;/&gt; ever legal mimimizations as well?)
&gt;
&gt;
&gt; The &lt;tt&gt;foobar&lt;/&gt; minimisation is valid SGML, but not valid XML. Seeing that
&gt; DocBook is rapidly moving to XML, we should be writing our SGML with that in
&gt; mind.
Ok - if people have SGML with &lt;tt&gt;booger&lt;/&gt; style shortcuts the sed
script
to change them to &lt;tt&gt;booger&lt;/tt&gt; should look like:
sed 's/&lt;\([a-z]\+\)&gt;\([^\/]\+\)&lt;\/&gt;/&lt;\1&gt;\2&lt;\/\1&gt;/g'
Sufficient to frighten small children, but functional none the less...
Paul.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at <A HREF="http://mail.yahoo.com">http://mail.yahoo.com</A>
--
To UNSUBSCRIBE, email to ldp-discuss-request@lists.debian.org
with a subject of &quot;unsubscribe&quot;. Trouble? Contact listmaster@lists.debian.org
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="03689" href="msg03689.html">Script to de-minimize tags like &lt;tt/this/</a></strong>
<ul><li><em>From:</em> Paul Gortmaker &lt;p_gortmaker@yahoo.com&gt;</li></ul></li>
<li><strong><a name="03690" href="msg03690.html">Re: Script to de-minimize tags like &lt;tt/this/</a></strong>
<ul><li><em>From:</em> &quot;Jeff Waugh&quot; &lt;jdub@aphid.net&gt;</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg03696.html">Re: Volunteering to write a HOWTO</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg03698.html">a propose of documents on LInux applications</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg03690.html">Re: Script to de-minimize tags like &lt;tt/this/</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg03691.html">Volunteering to write a HOWTO</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#03697"><strong>Date</strong></a></li>
<li><a href="threads.html#03697"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>