<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Remei,<div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>There is a command in CLAN that can do what you want. It had a problem with inserting new code lines, but it is fixed now. New CLAN is on the web. Below are 2 commands that you can use. CHSTRING will replace original files, so you might want to backup original files/folder before you run those commands</div><div class=""><br class=""></div><div class="">1. To insert new code "%aaa" run command:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><font color="#ff2600" class="">chstring +s"\**" "\**%aaa:\t\n" -w </font><span style="caret-color: rgb(255, 38, 0); color: rgb(255, 38, 0);" class="">+1</span><span style="color: rgb(255, 38, 0);" class=""> *.cha</span></div><div class=""><div class=""><br class="webkit-block-placeholder"></div><div class="">2. To change strings like "as far as" to "as_far_as" run command:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><font color="#ff2600" class="">chstring -cchstring_word.cut -w</font><span style="caret-color: rgb(255, 38, 0); color: rgb(255, 38, 0);" class=""> </span><span style="caret-color: rgb(255, 38, 0); color: rgb(255, 38, 0);" class="">+1 </span><span style="color: rgb(255, 38, 0);" class="">*.cha</span></div><div class=""><br class="webkit-block-placeholder"></div><div class="">The string replacement "as far as" is store in file <font color="#ff2600" class=""><span style="caret-color: rgb(255, 38, 0);" class="">chstring_word.cut </span></font>that is attached to this email. You can add more string to that file and run CHSTRING to replace those strings with just one command in point 2.</div><div class=""><br class=""></div><div class=""><br class="">Leonid.
</div>
<div></div></div></body></html>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "chibolts" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com">chibolts+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/D390BAB0-1992-4F7B-8A87-6E4B2C0FBF16%40andrew.cmu.edu?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/D390BAB0-1992-4F7B-8A87-6E4B2C0FBF16%40andrew.cmu.edu</a>.<br />