<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: msh: Extract text from a stream with grep-string</title>
	<atom:link href="http://www.tech-recipes.com/rx/637/msh-extract-text-from-a-stream-with-grep-string/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/637/msh-extract-text-from-a-stream-with-grep-string/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Sun, 22 Nov 2009 00:56:44 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: </title>
		<link>http://www.tech-recipes.com/rx/637/msh-extract-text-from-a-stream-with-grep-string/comment-page-1/#comment-2848</link>
		<dc:creator></dc:creator>
		<pubDate>Sun, 30 Apr 2006 13:05:59 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-2848</guid>
		<description>Thomas,
I didn&#039;t use beta 3, so I don&#039;t know if its the same, but there is now the select-string cmdlet (as of PowerShell RC1)
If it is the same, you&#039;d probably already know about it (since you&#039;re blog has quite a bit of info on msh(PowerShell)

However, for others passing through, I thought I&#039;d post this example:
&lt;code&gt;
&gt; set-content test.txt &quot;Hello World&quot;
&gt; dir *.txt&#124;select-string ^H.*d$
test.txt&#58;1&#58;Hello World
&lt;/code&gt;
</description>
		<content:encoded><![CDATA[<p>Thomas,<br />
I didn&#8217;t use beta 3, so I don&#8217;t know if its the same, but there is now the select-string cmdlet (as of PowerShell RC1)<br />
If it is the same, you&#8217;d probably already know about it (since you&#8217;re blog has quite a bit of info on msh(PowerShell)</p>
<p>However, for others passing through, I thought I&#8217;d post this example:<br />
<code><br />
&gt; set-content test.txt &quot;Hello World&quot;<br />
&gt; dir *.txt|select-string ^H.*d$<br />
test.txt&#58;1&#58;Hello World<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: </title>
		<link>http://www.tech-recipes.com/rx/637/msh-extract-text-from-a-stream-with-grep-string/comment-page-1/#comment-2665</link>
		<dc:creator></dc:creator>
		<pubDate>Sun, 22 Jan 2006 04:31:38 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-2665</guid>
		<description>Sadly, it would appear that grep-string is not a part of MSH Beta 3:
&lt;code&gt;
&#91;C&#58;&#93;&#58; dir &#124; grep-string
&#039;grep-string&#039; is not recognized as a Cmdlet, function, operable program, or script file.
At line&#58;1 char&#58;17
+ dir &#124; grep-string &lt;&lt;&lt;&lt;
&#91;C&#58;&#93;&#58;
&lt;/code&gt;


Thomas
(http://tfl09.blogspot.com)</description>
		<content:encoded><![CDATA[<p>Sadly, it would appear that grep-string is not a part of MSH Beta 3:<br />
<code><br />
&#91;C&#58;&#93;&#58; dir | grep-string<br />
'grep-string' is not recognized as a Cmdlet, function, operable program, or script file.<br />
At line&#58;1 char&#58;17<br />
+ dir | grep-string &lt;&lt;&lt;&lt;<br />
&#91;C&#58;&#93;&#58;<br />
</code></p>
<p>Thomas<br />
(<a href="http://tfl09.blogspot.com)" rel="nofollow">http://tfl09.blogspot.com)</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.tech-recipes.com/rx/637/msh-extract-text-from-a-stream-with-grep-string/comment-page-1/#comment-1196</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 14 Jan 2005 17:15:15 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-1196</guid>
		<description>I regularly (heh) use dir/s/b &#124; findstr /f:/ /r &quot;^my.*reg[a-z][^0-9]expr&gt;&quot; in the Windows cmd shell</description>
		<content:encoded><![CDATA[<p>I regularly (heh) use dir/s/b | findstr /f:/ /r &#8220;^my.*reg[a-z][^0-9]expr&gt;&#8221; in the Windows cmd shell</p>
]]></content:encoded>
	</item>
</channel>
</rss>
