<?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 file content allignment in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-content-allignment/m-p/5672605#M638142</link>
    <description>&lt;P&gt;I have a file , the content is as below&lt;/P&gt;&lt;P&gt;00 15 * 8 * /bin/chmod 755 /tmp&lt;BR /&gt;00 17,20 * 9 1 /bin/runcron&lt;/P&gt;&lt;P&gt;Now , I would like to allign it by space , the output is as the attachment file "output.txt" .&lt;/P&gt;&lt;P&gt;I have the below command , it is OK but it do the whole file , what I would like is to allign&amp;nbsp; the first 5 column ( the date and time column ) , can advise how can i do it ? thx&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;cat &amp;lt;file&amp;gt; | tr "[:space:]" "\t"&lt;/P&gt;</description>
    <pubDate>Tue, 29 May 2012 07:40:35 GMT</pubDate>
    <dc:creator>Intothenewworld</dc:creator>
    <dc:date>2012-05-29T07:40:35Z</dc:date>
    <item>
      <title>file content allignment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-content-allignment/m-p/5672605#M638142</link>
      <description>&lt;P&gt;I have a file , the content is as below&lt;/P&gt;&lt;P&gt;00 15 * 8 * /bin/chmod 755 /tmp&lt;BR /&gt;00 17,20 * 9 1 /bin/runcron&lt;/P&gt;&lt;P&gt;Now , I would like to allign it by space , the output is as the attachment file "output.txt" .&lt;/P&gt;&lt;P&gt;I have the below command , it is OK but it do the whole file , what I would like is to allign&amp;nbsp; the first 5 column ( the date and time column ) , can advise how can i do it ? thx&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;cat &amp;lt;file&amp;gt; | tr "[:space:]" "\t"&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2012 07:40:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-content-allignment/m-p/5672605#M638142</guid>
      <dc:creator>Intothenewworld</dc:creator>
      <dc:date>2012-05-29T07:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: file content alignment (crontab)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-content-allignment/m-p/5673029#M638143</link>
      <description>&lt;P&gt;&amp;gt;what I would like is to align the first 5 columns (the date and time columns)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps using sed:&lt;/P&gt;&lt;P&gt;sed -e 's/^\([^ ]*\) \([^ ]*\) \([^ ]*\) \([^ ]*\) \([^ ]*\) \(.*$\)/\1\t\2\t\3\t\4\t\5\t\6/' file&lt;/P&gt;&lt;P&gt;(Where the "\t" should be replaced by a tab char.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This assumes one space between each field.&amp;nbsp; It would be simple to handle multiple spaces.&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2012 02:11:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-content-allignment/m-p/5673029#M638143</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-05-30T02:11:20Z</dc:date>
    </item>
  </channel>
</rss>

