<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How Can I Sort the Contents of a Text File?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/02/25/how-can-i-sort-the-contents-of-a-text-file.aspx</link><description>Hey, Scripting Guy! I have a text file that contains a list of computer names. How can I sort that file alphabetically? -- LR 
 Hey, LR. If we wanted to take the easy way out we’d just tell you, “Sorry, you can’t do that.” And we could get away with</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: How Can I Sort the Contents of a Text File?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/02/25/how-can-i-sort-the-contents-of-a-text-file.aspx#3374997</link><pubDate>Tue, 14 Dec 2010 17:35:39 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3374997</guid><dc:creator>giovetti</dc:creator><description>&lt;p&gt;I managed to update my file but instead of replacing it, is just adding the recordset to the old data. HELP&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3374997" width="1" height="1"&gt;</description></item><item><title>re: How Can I Sort the Contents of a Text File?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/02/25/how-can-i-sort-the-contents-of-a-text-file.aspx#3373294</link><pubDate>Mon, 06 Dec 2010 12:51:42 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3373294</guid><dc:creator>Giovetti</dc:creator><description>&lt;p&gt;Hi there, &lt;/p&gt;
&lt;p&gt;I have a txt file that I would like to edit but instead of sorting its contents I would like to delete some of it from a certain point in the file.&lt;/p&gt;
&lt;p&gt;This is an exctract of the file. I woul like to be left with data similar to RSHPV21287 and so on, which is the first record from the file and delete all the rest. Just the request Nr colum interests me, but the file is all crumbled and difficult to read when opened in the notepad, not like it is presented here.&lt;/p&gt;
&lt;p&gt;HEADERF&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&lt;/p&gt;
&lt;p&gt;³HPVD2R on status 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Printed on 03.12.10 by FDS &amp;nbsp; Page PaGe&lt;/p&gt;
&lt;p&gt;ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&lt;/p&gt;
&lt;p&gt;Selection criteria: LID=RS, Period=HPV2, Nø=&lt;/p&gt;
&lt;p&gt;Request No. &amp;nbsp; &amp;nbsp; Status &amp;nbsp; &amp;nbsp;Site &amp;nbsp;Requestor &amp;nbsp; &amp;nbsp; &amp;nbsp; Reception date &amp;nbsp; &amp;nbsp;Mat&lt;/p&gt;
&lt;p&gt;-------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;&amp;lt;&amp;lt;HEADERN&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&lt;/p&gt;
&lt;p&gt;³HPVD2R on status 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Printed on 03.12.10 by FDS &amp;nbsp; Page PaGe&lt;/p&gt;
&lt;p&gt;ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&lt;/p&gt;
&lt;p&gt;Request No. &amp;nbsp; &amp;nbsp; Status &amp;nbsp; &amp;nbsp;Site &amp;nbsp;Requestor &amp;nbsp; &amp;nbsp; &amp;nbsp; Reception date &amp;nbsp; &amp;nbsp;Mat&lt;/p&gt;
&lt;p&gt;-------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;&amp;lt;&amp;lt;BODY&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;RS HPV2 1287 &amp;nbsp; &amp;nbsp;0-----6 &amp;nbsp; SHP &amp;nbsp; CSHR01 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;23.03.2010 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HURI&lt;/p&gt;
&lt;p&gt;&amp;lt;&amp;lt;BREAK&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;RS HPV2 1389 &amp;nbsp; &amp;nbsp;01----6 &amp;nbsp; SHP &amp;nbsp; CSHR01 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;26.04.2010 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HURI&lt;/p&gt;
&lt;p&gt;&amp;lt;&amp;lt;BREAK&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;RS HPV2 1558 &amp;nbsp; &amp;nbsp;0-----6 &amp;nbsp; SHP &amp;nbsp; SHPC1B &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;23.06.2010 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HOTH&lt;/p&gt;
&lt;p&gt;&amp;lt;&amp;lt;BREAK&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;RS HPV2 1559 &amp;nbsp; &amp;nbsp;0-----6 &amp;nbsp; SHP &amp;nbsp; SHPC1B &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;23.06.2010 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HOTH&lt;/p&gt;
&lt;p&gt;&amp;lt;&amp;lt;BREAK&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;RS HPV2 1560 &amp;nbsp; &amp;nbsp;0-----6 &amp;nbsp; SHP &amp;nbsp; SHPC1B &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;23.06.2010 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HOTH&lt;/p&gt;
&lt;p&gt;&amp;lt;&amp;lt;BREAK&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;RS HPV2 1699 &amp;nbsp; &amp;nbsp;01----6 &amp;nbsp; SHP &amp;nbsp; CSHR01 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;22.09.2010 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HURI&lt;/p&gt;
&lt;p&gt;&amp;lt;&amp;lt;BREAK&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;RS HPV2 1700 &amp;nbsp; &amp;nbsp;01----6&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3373294" width="1" height="1"&gt;</description></item><item><title>re: How Can I Sort the Contents of a Text File?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/02/25/how-can-i-sort-the-contents-of-a-text-file.aspx#3354833</link><pubDate>Sat, 11 Sep 2010 02:38:38 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3354833</guid><dc:creator>ja</dc:creator><description>&lt;p&gt;can you please do this in C prog?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3354833" width="1" height="1"&gt;</description></item></channel></rss>