<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>ClearNet Security: Tag grep</title>
    <link>http://blog.clearnetsec.com/articles/tag/grep</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>I've been too lazy</title>
      <description>&lt;p&gt;
So this is totally skag,&amp;nbsp; knocking off someone else but I was pleasantly surprised.
&lt;/p&gt;

&lt;p&gt;
Do this, with GNU Grep:
&lt;/p&gt;

&lt;p&gt;
export LESS=-R
&lt;/p&gt;

&lt;p&gt;
export echo $GREP_OPTIONS=-i --with-filename --color=always
&lt;/p&gt;

&lt;p&gt;
&amp;nbsp;The -i and --with-filename might screw some scripts up but I'm sick of typing them.
&lt;/p&gt;


&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;!-- technorati tags begin --&gt;&lt;p style="font-size:10px;text-align:right;"&gt;technorati tags: &lt;a href="http://technorati.com/tag/gnu" rel="tag"&gt;gnu&lt;/a&gt;, &lt;a href="http://technorati.com/tag/grep" rel="tag"&gt;grep&lt;/a&gt;, &lt;a href="http://technorati.com/tag/options" rel="tag"&gt;options&lt;/a&gt;, &lt;a href="http://technorati.com/tag/color" rel="tag"&gt;color&lt;/a&gt;&lt;/p&gt;&lt;!-- technorati tags end --&gt;

</description>
      <pubDate>Mon, 05 Jun 2006 13:46:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:24f3e5ee-2933-4ea1-8c43-06f0878b8fa4</guid>
      <author>ian@ClearNetSec.com (Ian S. Nelson)</author>
      <link>http://blog.clearnetsec.com/articles/2006/06/05/ive-been-too-lazy</link>
      <category>gnu</category>
      <category>grep</category>
      <category>options</category>
      <category>color</category>
    </item>
  </channel>
</rss>
