<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to change month from Jan ,Feb, to 01,02 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-month-from-jan-feb-to-01-02/m-p/2667864#M50109</link>
    <description>That is the default setting. You can try to write a script to change that but there is no option in the ls command that can do that.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kenny.</description>
    <pubDate>Wed, 20 Feb 2002 08:10:16 GMT</pubDate>
    <dc:creator>Kenny Chau</dc:creator>
    <dc:date>2002-02-20T08:10:16Z</dc:date>
    <item>
      <title>how to change month from Jan ,Feb, to 01,02</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-month-from-jan-feb-to-01-02/m-p/2667860#M50105</link>
      <description>in my hpux ,month is show as JAN ~DEC&lt;BR /&gt;for example:use command ll-rw-rw-rw-   1 pin        pin             10 Jan 16 17:03 zzz&lt;BR /&gt;if i wanna change Jan to 01,how can i do it.&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Feb 2002 04:07:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-month-from-jan-feb-to-01-02/m-p/2667860#M50105</guid>
      <dc:creator>thebeatlesguru</dc:creator>
      <dc:date>2002-02-20T04:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to change month from Jan ,Feb, to 01,02</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-month-from-jan-feb-to-01-02/m-p/2667861#M50106</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;By default that is how the output is presented. There is no options within 'ls' itself to change it. You could write a program wrapper that changes the output from the date presented to a number. &lt;BR /&gt;&lt;BR /&gt;Only other thing I can suggest is have a look at 'Super ls'. You can find it at this link.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gatekeep.cs.utah.edu/hppd/hpux/Shells/sls-1.0/" target="_blank"&gt;http://gatekeep.cs.utah.edu/hppd/hpux/Shells/sls-1.0/&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael</description>
      <pubDate>Wed, 20 Feb 2002 04:19:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-month-from-jan-feb-to-01-02/m-p/2667861#M50106</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-02-20T04:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to change month from Jan ,Feb, to 01,02</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-month-from-jan-feb-to-01-02/m-p/2667862#M50107</link>
      <description>A little clumsy, but you can put this into a script..&lt;BR /&gt;ll | sed "s/Jan/01/g" | sed "s/Feb/02/g" &lt;BR /&gt;and so on for all the months.</description>
      <pubDate>Wed, 20 Feb 2002 04:50:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-month-from-jan-feb-to-01-02/m-p/2667862#M50107</guid>
      <dc:creator>Deepak Extross</dc:creator>
      <dc:date>2002-02-20T04:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to change month from Jan ,Feb, to 01,02</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-month-from-jan-feb-to-01-02/m-p/2667863#M50108</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Put this in a script&lt;BR /&gt;&lt;BR /&gt;exec $1|&lt;BR /&gt;sed -e 's/ Jan / 01 /'|&lt;BR /&gt;sed -e 's/ Feb / 02 /'|&lt;BR /&gt;sed -e 's/ Mar / 03 /'|&lt;BR /&gt;sed -e 's/ Apr / 04 /'|&lt;BR /&gt;sed -e 's/ May / 05 /'|&lt;BR /&gt;sed -e 's/ Jun / 06 /'|&lt;BR /&gt;sed -e 's/ Jul / 07 /'|&lt;BR /&gt;sed -e 's/ Aug / 08 /'|&lt;BR /&gt;sed -e 's/ Sep / 09 /'|&lt;BR /&gt;sed -e 's/ Oct / 10 /'|&lt;BR /&gt;sed -e 's/ Nov / 11 /'|&lt;BR /&gt;sed -e 's/ Dec / 12 /'&lt;BR /&gt;&lt;BR /&gt;Then script command&lt;BR /&gt;&lt;BR /&gt;ex script ll&lt;BR /&gt;&lt;BR /&gt;Output comes with date changed&lt;BR /&gt;&lt;BR /&gt;               Steve Steel</description>
      <pubDate>Wed, 20 Feb 2002 07:30:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-month-from-jan-feb-to-01-02/m-p/2667863#M50108</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-02-20T07:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to change month from Jan ,Feb, to 01,02</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-month-from-jan-feb-to-01-02/m-p/2667864#M50109</link>
      <description>That is the default setting. You can try to write a script to change that but there is no option in the ls command that can do that.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kenny.</description>
      <pubDate>Wed, 20 Feb 2002 08:10:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-month-from-jan-feb-to-01-02/m-p/2667864#M50109</guid>
      <dc:creator>Kenny Chau</dc:creator>
      <dc:date>2002-02-20T08:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to change month from Jan ,Feb, to 01,02</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-month-from-jan-feb-to-01-02/m-p/2667865#M50110</link>
      <description>Hi Guru,&lt;BR /&gt;&lt;BR /&gt;try this:&lt;BR /&gt;&lt;BR /&gt;ll | awk -v var=`date +"%e %m %X"` '{print $1, $2, $3, $4, $5, var, $7, $8, $9}'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;date +%m  gives you the desired format for the month.&lt;BR /&gt;&lt;BR /&gt;You can make a little awk-script which is easier to call then.&lt;BR /&gt;&lt;BR /&gt;Allways stay on the bright side of life!&lt;BR /&gt;&lt;BR /&gt;Peter&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Feb 2002 09:20:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-month-from-jan-feb-to-01-02/m-p/2667865#M50110</guid>
      <dc:creator>Peter Kloetgen</dc:creator>
      <dc:date>2002-02-20T09:20:54Z</dc:date>
    </item>
  </channel>
</rss>

