<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 13px; white-space: pre-wrap; "><div>Wow, Hans, you keep adding great recipes - it's hard to keep up with you!</div><div><br class="webkit-block-placeholder"></div><div>You asked for feedback and suggestions. Many years ago I wrote a collection of power tools in C that I used in DOS, feeding the output of one into the next using pipes. I still have a hard copy of the manual. (I might have the code somewhere on an old computer...)</div><div><br class="webkit-block-placeholder"></div><div>Here are a few of the tools that I wrote. I can send you more information about any that interest you (or anyone else interested in writing power tools). I was dealing with files, but most of these tools could as easily apply to pages:</div><div><br></div><div>Calc - to do a calculation using numbers that are either on the command line or in a file.</div><div><br></div><div>Decode - to display the ASCII values of graphic characters </div><div><br class="webkit-block-placeholder"></div><div>Define - to remove strings from your file, and optionally, to replace them with other strings.</div><div><br class="webkit-block-placeholder"></div><div>Delq - to delete a set of files, asking user to say yes or no to each</div><div><br class="webkit-block-placeholder"></div><div>Echox - to copy text multiple times</div><div><br class="webkit-block-placeholder"></div><div>Ensure - to ensure that the last character of a file is the desired one. Or to remove a character that is not wanted.</div><div><br class="webkit-block-placeholder"></div><div>Findat - to extract or delete particular lines from a file.</div><div><br class="webkit-block-placeholder"></div><div>Merge - to combine already sorted files into one single sorted file</div><div><br class="webkit-block-placeholder"></div><div>Move - to move files by one command, instead of by copy and erase</div><div><br class="webkit-block-placeholder"></div><div>Movedate - to rename files into subdirectories based on their creation date</div><div><br class="webkit-block-placeholder"></div><div>Reformat - to reformat text based on a template (this was a very powerful tool, but hard to explain concisely)</div><div><br class="webkit-block-placeholder"></div><div>Showerr - to show the errorlevel</div><div><br class="webkit-block-placeholder"></div><div>Showstat - to show the status of a file or subdirectory, and to set errorlevel to indicate the status</div><div><br class="webkit-block-placeholder"></div><div>Siz - to subtotal file sizes</div><div><br class="webkit-block-placeholder"></div><div>Space - to calculate disk space requirements for files</div><div><br class="webkit-block-placeholder"></div><div>Split - to separate lines of a file into different result-files, according to rules specified in a table (a very powerful tool)</div><div><br class="webkit-block-placeholder"></div><div>Sum - to total up a column of numbers</div><div><br class="webkit-block-placeholder"></div><div>Text - to convert a file into standard ASCII text.</div><div><br class="webkit-block-placeholder"></div><div>Try - to make, remove, or change to a directory without showing an error message when unsuccessful</div><div><br class="webkit-block-placeholder"></div><div>Uniq - to remove lines from a file that are identical to the previous line</div><div><br class="webkit-block-placeholder"></div><div>Whatis - to document or to look up the meaning of a word</div><div><br class="webkit-block-placeholder"></div><div>Width - to show the width of each line in file; also, to set errorlevel</div><div><br class="webkit-block-placeholder"></div><div>Wordwrap - to fit text into a specified column width</div><div><br></div><div>Xtrbytes - to extract or delete sections of a file</div><div><br class="webkit-block-placeholder"></div><div>Xtrchars - to extract or rearrange characters in text lines</div><div><br class="webkit-block-placeholder"></div><div>Xtrline - to extract or delete one or more lines from a file</div><div><br></div><div>I hope this sparks some recipe ideas!</div><div><br class="webkit-block-placeholder"></div></span><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: pre-wrap; ">Randy</span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: pre-wrap;"><br class="webkit-block-placeholder"></span></font></div><div><div>On Feb 4, 2008, at 1:22 PM, Hans wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br>A collection of markup expressions which can be used to process<br>multiple pages.<br><br>See <a href="http://www.pmwiki.org/wiki/Cookbook/PowerTools">http://www.pmwiki.org/wiki/Cookbook/PowerTools</a><br><br></blockquote></div></body></html>