<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: unix code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Tue, 07 Oct 2008 18:35:03 GMT</pubDate>
    <description>DZone Snippets: unix code</description>
    <item>
      <title>Cut some text from file</title>
      <link>http://snippets.dzone.com/posts/show/5995</link>
      <description>// 1234567@2345|[HELLO]|adcbdefhij: asgdfdasdfhhfd-asdfasd-dsfasdf |0.678|0.0|0.213&lt;br /&gt;// 1234567@2345|[HELLO]|adcbdefhij: ashhfd-asdfasd-dsfasdf |0.129|0.0|0.411&lt;br /&gt;// 1234567@2345|[HELLO]|adcbdefhij: asd-aasd-dasdf |0.223|0.0|0.276&lt;br /&gt;// delete the text which occurs between @ and :&lt;br /&gt;// remove the numbers which occur at the end of every line |0.223|0.0|0.276&lt;br /&gt;&lt;code&gt;&lt;br /&gt;awk 'BEGIN{FS="[@:|]"}{ printf "%s%s\n",$1,$5}' file&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;</description>
      <pubDate>Thu, 28 Aug 2008 07:46:35 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/5995</guid>
      <author>shantanuo (shantanu oak)</author>
    </item>
    <item>
      <title>extract table names from sql log file</title>
      <link>http://snippets.dzone.com/posts/show/4639</link>
      <description>&lt;code&gt;&lt;br /&gt;grep "from " /var/log/mysql/mysqld.log | awk -Ffrom '{print $2}' | awk '{print $1}' | cat &gt; /home/shantanu/testing.txt&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Fri, 12 Oct 2007 08:23:02 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/4639</guid>
      <author>shantanuo (shantanu oak)</author>
    </item>
  </channel>
</rss>
