<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Structured Authoring &#187; Uncategorized</title>
	<atom:link href="http://structuredauthoring.org/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://structuredauthoring.org</link>
	<description>Learning Structured Authoring - Tools and Processes</description>
	<lastBuildDate>Fri, 14 Jan 2011 18:10:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Arbortext &#8211; ACL &#8211; Remove Comments From a File</title>
		<link>http://structuredauthoring.org/uncategorized/arbortext-acl-remove-comments-file/</link>
		<comments>http://structuredauthoring.org/uncategorized/arbortext-acl-remove-comments-file/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 16:00:53 +0000</pubDate>
		<dc:creator>douglaspaulwade</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://structuredauthoring.org/?p=208</guid>
		<description><![CDATA[Here is a simple use of ACL (Arbortext Command Language) to remove all the comments in your file. Placing this function in a file, for example, removeComment.acl and store it in &#60;arbortext installation&#62;/custom/scripts/. You can call out the script either by using the command line or place it in a menu. function removeComments&#40;&#41; &#123; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a simple use of ACL (Arbortext Command Language) to remove all the comments in your file. Placing this function in a file, for example, <strong>removeComment.acl</strong> and store it in <strong>&lt;arbortext installation&gt;/custom/scripts/</strong>. You can call out the script either by using the command line or place it in a menu.</p>
<div class="dean_ch" style="white-space: wrap;">function removeComments<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="co1">#&#8212; Removes all the comments in an instance</span><br />
&nbsp; &nbsp; find -<a href="http://perldoc.perl.org/functions/m.html"><span class="kw3">m</span></a> <span class="st0">&#8216;&lt;_comment&gt;&#8217;</span>;<br />
&nbsp; &nbsp; message <span class="st0">&quot;Removed all comments&#8230;&quot;</span>;<br />
&nbsp; &nbsp; <span class="kw1">while</span><span class="br0">&#40;</span> selected<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; delete_mark;<br />
&nbsp; &nbsp; &nbsp; &nbsp; find -<a href="http://perldoc.perl.org/functions/m.html"><span class="kw3">m</span></a> <span class="st0">&#8216;&lt;_comment&gt;&#8217;</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span></div>
<p>Test the function by invoking it from the command line.<br />
First, source the file.</p>
<div id="attachment_214" class="wp-caption alignnone" style="width: 306px"><img class="size-full wp-image-214" title="removecomments" src="http://structuredauthoring.org/wp-content/uploads/2009/05/removecomments.png" alt="removecomments" width="296" height="45" /><p class="wp-caption-text">Sourcing the remove comments function</p></div>
<div class="mceTemp" style="text-align: left;">Second, call out the function.</div>
<div class="mceTemp" style="text-align: left;">
<div class="mceTemp">
<dl id="attachment_215" class="wp-caption alignnone" style="width: 264px;">
<dt class="wp-caption-dt"><img class="size-full wp-image-215" title="removecommentsrun" src="http://structuredauthoring.org/wp-content/uploads/2009/05/removecommentsrun.png" alt="Running the remove comments function" width="254" height="52" /></dt>
<dd class="wp-caption-dd">Running the remove comments function</dd>
</dl>
<p>This function, again, will loop through the file and remove all comments.</p></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://structuredauthoring.org/uncategorized/arbortext-acl-remove-comments-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

