<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by lahjenan</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Thu, 11 Jun 2026 21:14:24 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>computation speed: C vs MATLAb</title>
            <link>http://forum.lowyat.net/topic/733867</link>
            <description>sesiapa biasa dengan heuristics @ search algorithms? nk tanya pendapat korg, yg mana lg pantas utk selesaikan heuristic algorithms, sama ada C atau MATLAB, dan kenapa? &lt;br /&gt;agak2nya, C lg pantas, tp aku x biasa dgn MATLAB &amp;amp; tak tau kesesuaian penggunaan MATLAB.</description>
            <author>lahjenan</author>
            <category>Codemasters</category>
            <pubDate>Thu, 03 Jul 2008 22:18:06 +0800</pubDate>
        </item>
        <item>
            <title>need help with awk @ sed;</title>
            <link>http://forum.lowyat.net/topic/544621</link>
            <description>I would like to read a file name tmpACO.txt, and check for each line, whether the item in column i has the same value as the item in column 8. If the item i has  the same value as the item in the 8th column, I want to print a bold &amp;quot;y&amp;quot; marker before the item and print the item in bold. If the item i is different from the item in the 8th column, I want to print the item i normally, and reprint the results in a file named markedACO.txt. &lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;cat tmpACO.txt | awk -F&amp;#39; &amp;#39; &amp;#39;{for&amp;#40;i = 1; i &amp;#60; 8; i++&amp;#41; {if&amp;#40;&amp;#036;i == &amp;#036;8&amp;#41; &amp;#036;i = &amp;#34;y &amp;#34;&amp;#036;i; else &amp;#036;i = &amp;#036;i} print}&amp;#39; &amp;#62; markedACO.txt&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;below are a few lines from file tmpACO.txt;&lt;br /&gt;&lt;br /&gt;kra30a.dat 0.02 0.89 0.1 0.02 0.01 0.29 0.01 &lt;br /&gt;kra30b.dat 0.13 0.9 0.14 0.54 1.2 2.1 0.13&lt;br /&gt;kra32.dat 0.1 0.18 0.14 0.87 0.2 1.22 0.1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;the output should be like this;&lt;br /&gt;&lt;br /&gt;kra30a.dat 0.02 0.89 0.1 0.02 &lt;b&gt;y 0.01&lt;/b&gt; 0.29 0.01 &lt;br /&gt;kra30b.dat &lt;b&gt;y 0.13&lt;/b&gt; 0.9 0.14 0.54 1.2 2.1 0.13&lt;br /&gt;kra32.dat &lt;b&gt;y 0.1&lt;/b&gt; 0.18 0.14 0.87 0.2 1.22 0.1&lt;br /&gt;&lt;br /&gt;thanks</description>
            <author>lahjenan</author>
            <category>Linux &amp;amp; Open Source Software</category>
            <pubDate>Mon, 29 Oct 2007 23:57:36 +0800</pubDate>
        </item>
    </channel>
</rss>
