<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Open Source Research and Development &#187; grep FAQ</title>
	<atom:link href="http://osrd.org/section/projects/grep/grep-faq/feed" rel="self" type="application/rss+xml" />
	<link>http://osrd.org</link>
	<description>Free and Open Source R&#38;D Projects, Articles, and Reviews</description>
	<lastBuildDate>Wed, 18 Feb 2009 03:54:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>how do i grep on a term with a $ in it such as $foo? i tried enclosing it in quotes but that doesn&#8217;t help</title>
		<link>http://osrd.org/projects/grep/grep-faq/how-do-i-grep-on-a-term-with-a-in-it-such-as-foo-i-tried-enclosing-it-in-quotes-but-that-doesnt-help</link>
		<comments>http://osrd.org/projects/grep/grep-faq/how-do-i-grep-on-a-term-with-a-in-it-such-as-foo-i-tried-enclosing-it-in-quotes-but-that-doesnt-help#comments</comments>
		<pubDate>Mon, 16 Feb 2009 04:57:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[grep FAQ]]></category>

		<guid isPermaLink="false">http://osrd.org/?p=31</guid>
		<description><![CDATA[Enclose the $ in square brackets [ .. ], that is, specify the special character as a character class. For example,
grep &#8216;[$]foo&#8217; file.txt
]]></description>
			<content:encoded><![CDATA[<p>Enclose the $ in square brackets [ .. ], that is, specify the special character as a character class. For example,</p>
<p>grep &#8216;[$]foo&#8217; file.txt</p>
]]></content:encoded>
			<wfw:commentRss>http://osrd.org/projects/grep/grep-faq/how-do-i-grep-on-a-term-with-a-in-it-such-as-foo-i-tried-enclosing-it-in-quotes-but-that-doesnt-help/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>if I wanted to match &#8216;foo13245&#8242;, can I use grep &#8216;foo[\d]*&#8217;?</title>
		<link>http://osrd.org/projects/grep/grep-faq/to-match-foo13245-can-i-use-grep-foo</link>
		<comments>http://osrd.org/projects/grep/grep-faq/to-match-foo13245-can-i-use-grep-foo#comments</comments>
		<pubDate>Wed, 07 Jan 2009 12:30:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[grep FAQ]]></category>

		<guid isPermaLink="false">http://osrd.org/?p=24</guid>
		<description><![CDATA[Nope, \d has no meaning (unless using -P for PCRE). You need [[:digit:]] instead; i.e.,
grep 'foo[[:digit:]]*'
]]></description>
			<content:encoded><![CDATA[<p>Nope, \d has no meaning (unless using -P for PCRE). You need [[:digit:]] instead; i.e.,</p>
<p><code>grep 'foo[[:digit:]]*'</code></p>
]]></content:encoded>
			<wfw:commentRss>http://osrd.org/projects/grep/grep-faq/to-match-foo13245-can-i-use-grep-foo/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can i search for files which contain string A but not string B ?</title>
		<link>http://osrd.org/projects/grep/grep-faq/how-can-i-search-for-files-which-contain-string-a-but-not-string-b</link>
		<comments>http://osrd.org/projects/grep/grep-faq/how-can-i-search-for-files-which-contain-string-a-but-not-string-b#comments</comments>
		<pubDate>Tue, 06 Jan 2009 12:00:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[grep FAQ]]></category>

		<guid isPermaLink="false">http://osrd.org/?p=15</guid>
		<description><![CDATA[Pipe the output of grep through grep -v. For example:

grep 'A' file &#124; grep -v 'B'

]]></description>
			<content:encoded><![CDATA[<p>Pipe the output of grep through grep -v. For example:<br />
<code><br />
grep 'A' file | grep -v 'B'<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://osrd.org/projects/grep/grep-faq/how-can-i-search-for-files-which-contain-string-a-but-not-string-b/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why grep &#8216;foo&#124;bar&#8217; file doesn&#8217;t work?</title>
		<link>http://osrd.org/projects/grep/grep-faq/why-grep-foobar-file-doesnt-work</link>
		<comments>http://osrd.org/projects/grep/grep-faq/why-grep-foobar-file-doesnt-work#comments</comments>
		<pubDate>Mon, 05 Jan 2009 13:00:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[grep FAQ]]></category>

		<guid isPermaLink="false">http://osrd.org/?p=20</guid>
		<description><![CDATA[The bar &#124; has no special meaning in BRE (basic regular expressions). Use extended regular expressions (ERE) such as:
grep -E 'foo&#124;bar' file
or
egrep 'foo&#124;bar' file
In GNU grep, you can also force the spcial meaning of &#124; by escaping it. E.g.,
grep 'foo\&#124;bar' file
]]></description>
			<content:encoded><![CDATA[<p>The bar | has no special meaning in BRE (basic regular expressions). Use extended regular expressions (ERE) such as:</p>
<p><code>grep -E 'foo|bar' file</code></p>
<p><em>or</em></p>
<p><code>egrep 'foo|bar' file</code></p>
<p>In GNU grep, you can also force the spcial meaning of | by escaping it. E.g.,</p>
<p><code>grep 'foo\|bar' file</code></p>
]]></content:encoded>
			<wfw:commentRss>http://osrd.org/projects/grep/grep-faq/why-grep-foobar-file-doesnt-work/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is grep an acronym? Does it mean GNU Regular Expression P?</title>
		<link>http://osrd.org/projects/grep/grep-faq/is-grep-an-acronym-does-it-mean-gnu-regular-expression-p</link>
		<comments>http://osrd.org/projects/grep/grep-faq/is-grep-an-acronym-does-it-mean-gnu-regular-expression-p#comments</comments>
		<pubDate>Sun, 04 Jan 2009 20:32:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[grep FAQ]]></category>
		<category><![CDATA[GREP Tools]]></category>

		<guid isPermaLink="false">http://osrd.org/?p=12</guid>
		<description><![CDATA[grep originated from ed command: g/re/p where re is a regular expression, g stands for globally, and p stands for print. So one could say grep is an acronym of &#8220;Global Regular Expression Print&#8220;.
]]></description>
			<content:encoded><![CDATA[<p>grep originated from ed command: g/re/p where re is a regular expression, g stands for globally, and p stands for print. So one could say grep is an acronym of &#8220;<a title="Global Regular Expression Print Tools (grep variants)" href="projects/grep/global-regular-expression-print-tools-grep-variants">Global Regular Expression Print</a>&#8220;.</p>
]]></content:encoded>
			<wfw:commentRss>http://osrd.org/projects/grep/grep-faq/is-grep-an-acronym-does-it-mean-gnu-regular-expression-p/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
