<?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: Linux / UNIX Shell: Sort Date</title> <atom:link href="http://www.cyberciti.biz/faq/linux-unix-sort-date-data-using-sortcommand/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/linux-unix-sort-date-data-using-sortcommand/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Mike</title><link>http://www.cyberciti.biz/faq/linux-unix-sort-date-data-using-sortcommand/#comment-66312</link> <dc:creator>Mike</dc:creator> <pubDate>Tue, 03 Jan 2012 16:27:27 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2219#comment-66312</guid> <description>This has been a great help, but for some reason when I go to sort it will only sort one part of the date , the DD, the MM or the YYYY but never more than one. The only difference in my code is that instead of a space delimiter I have a comma so I added the -t&quot;,&quot; part to the code, any ideas why mine isn&#039;t working?</description> <content:encoded><![CDATA[<p>This has been a great help, but for some reason when I go to sort it will only sort one part of the date , the DD, the MM or the YYYY but never more than one. The only difference in my code is that instead of a space delimiter I have a comma so I added the -t&#8221;,&#8221; part to the code, any ideas why mine isn&#8217;t working?</p> ]]></content:encoded> </item> <item><title>By: Kevin</title><link>http://www.cyberciti.biz/faq/linux-unix-sort-date-data-using-sortcommand/#comment-66058</link> <dc:creator>Kevin</dc:creator> <pubDate>Mon, 26 Dec 2011 15:37:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2219#comment-66058</guid> <description>I&#039;m working through a similar sorting problem. Where I get stuck is getting the sorted output to sort on the am and pm data. looking at your output it looks like the same issue. ie: on the last table on 11/12/2008 2pm comes before 10am. i have tried sorting the am/pm part first but with no luck. any ideas?</description> <content:encoded><![CDATA[<p>I&#8217;m working through a similar sorting problem. Where I get stuck is getting the sorted output to sort on the am and pm data. looking at your output it looks like the same issue. ie: on the last table on 11/12/2008 2pm comes before 10am. i have tried sorting the am/pm part first but with no luck. any ideas?</p> ]]></content:encoded> </item> <item><title>By: Richard</title><link>http://www.cyberciti.biz/faq/linux-unix-sort-date-data-using-sortcommand/#comment-57642</link> <dc:creator>Richard</dc:creator> <pubDate>Sat, 23 Apr 2011 17:57:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2219#comment-57642</guid> <description>Thanks for this usefull tip (especially the -kx.y notation)</description> <content:encoded><![CDATA[<p>Thanks for this usefull tip (especially the -kx.y notation)</p> ]]></content:encoded> </item> <item><title>By: Anthony Thyssen</title><link>http://www.cyberciti.biz/faq/linux-unix-sort-date-data-using-sortcommand/#comment-52657</link> <dc:creator>Anthony Thyssen</dc:creator> <pubDate>Fri, 17 Dec 2010 03:32:22 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2219#comment-52657</guid> <description>That is not the ISO format
2008-12-25
is the ISO date format, but that is still sortable.</description> <content:encoded><![CDATA[<p>That is not the ISO format<br
/> 2008-12-25<br
/> is the ISO date format, but that is still sortable.</p> ]]></content:encoded> </item> <item><title>By: Ace</title><link>http://www.cyberciti.biz/faq/linux-unix-sort-date-data-using-sortcommand/#comment-43897</link> <dc:creator>Ace</dc:creator> <pubDate>Wed, 30 Sep 2009 21:21:38 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2219#comment-43897</guid> <description>@harry
Agree about that.</description> <content:encoded><![CDATA[<p>@harry<br
/> Agree about that.</p> ]]></content:encoded> </item> <item><title>By: harry</title><link>http://www.cyberciti.biz/faq/linux-unix-sort-date-data-using-sortcommand/#comment-39052</link> <dc:creator>harry</dc:creator> <pubDate>Fri, 24 Oct 2008 21:27:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2219#comment-39052</guid> <description>of course, if people started using ISO data format e.g. &quot;20081225&quot; to store and export the date, it would simplify their sorting immensely. Well, for dates anyway ;&#039;)
.h</description> <content:encoded><![CDATA[<p>of course, if people started using ISO data format e.g. &#8220;20081225&#8243; to store and export the date, it would simplify their sorting immensely. Well, for dates anyway ;&#8217;)</p><p>.h</p> ]]></content:encoded> </item> <item><title>By: vivek</title><link>http://www.cyberciti.biz/faq/linux-unix-sort-date-data-using-sortcommand/#comment-39051</link> <dc:creator>vivek</dc:creator> <pubDate>Fri, 24 Oct 2008 18:32:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2219#comment-39051</guid> <description>Dan,
-M will only compare month if they are in following format i.e. a month name abbreviation:
JAN
FEB
MAR
...
..
DEC
HTH</description> <content:encoded><![CDATA[<p>Dan,</p><p>-M will only compare month if they are in following format i.e. a month name abbreviation:<br
/> JAN<br
/> FEB<br
/> MAR<br
/> &#8230;<br
/> ..<br
/> DEC</p><p>HTH</p> ]]></content:encoded> </item> <item><title>By: Dan Shumaker</title><link>http://www.cyberciti.biz/faq/linux-unix-sort-date-data-using-sortcommand/#comment-39050</link> <dc:creator>Dan Shumaker</dc:creator> <pubDate>Fri, 24 Oct 2008 17:08:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2219#comment-39050</guid> <description>Umm,  you say it&#039;s the -M option and then you don&#039;t use -M as an option.  That&#039;s funny.</description> <content:encoded><![CDATA[<p>Umm,  you say it&#8217;s the -M option and then you don&#8217;t use -M as an option.  That&#8217;s funny.</p> ]]></content:encoded> </item> </channel> </rss>
