<?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 using tr utility in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/using-tr-utility/m-p/2780108#M74407</link>
    <description>Hi,&lt;BR /&gt;I need to replace all tab characters in the file with a single space. How do I do it?&lt;BR /&gt;I tried,&lt;BR /&gt;tr -s "/t" " " &lt;VIEW.TXT&gt;&lt;/VIEW.TXT&gt;I know this isn't right, can someone please tell me how to accomplish this? Thank you :-)</description>
    <pubDate>Mon, 05 Aug 2002 19:53:39 GMT</pubDate>
    <dc:creator>Sharvil Desai</dc:creator>
    <dc:date>2002-08-05T19:53:39Z</dc:date>
    <item>
      <title>using tr utility</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-tr-utility/m-p/2780108#M74407</link>
      <description>Hi,&lt;BR /&gt;I need to replace all tab characters in the file with a single space. How do I do it?&lt;BR /&gt;I tried,&lt;BR /&gt;tr -s "/t" " " &lt;VIEW.TXT&gt;&lt;/VIEW.TXT&gt;I know this isn't right, can someone please tell me how to accomplish this? Thank you :-)</description>
      <pubDate>Mon, 05 Aug 2002 19:53:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-tr-utility/m-p/2780108#M74407</guid>
      <dc:creator>Sharvil Desai</dc:creator>
      <dc:date>2002-08-05T19:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: using tr utility</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-tr-utility/m-p/2780109#M74408</link>
      <description>:-) Never mind it works now!&lt;BR /&gt;I used "\t" and it did what I needed it to do. However, it is hard to differentiate tabs and whitespaces. Is there any easy way to look at the file and determine whether the blank space is a tab or multiple whitespaces? Thank you!</description>
      <pubDate>Mon, 05 Aug 2002 19:57:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-tr-utility/m-p/2780109#M74408</guid>
      <dc:creator>Sharvil Desai</dc:creator>
      <dc:date>2002-08-05T19:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: using tr utility</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-tr-utility/m-p/2780110#M74409</link>
      <description>You could always try 'cat -t &lt;FILE&gt;', to show Tab characters as '^I'.&lt;BR /&gt;&lt;BR /&gt;If using Vi, you can use the command ':set list'.&lt;BR /&gt;&lt;BR /&gt;Failing either of those, you've always get 'hexdump' :)&lt;/FILE&gt;</description>
      <pubDate>Mon, 05 Aug 2002 21:49:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-tr-utility/m-p/2780110#M74409</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2002-08-05T21:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: using tr utility</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-tr-utility/m-p/2780111#M74410</link>
      <description>Thanks for additional useful info.</description>
      <pubDate>Thu, 09 Oct 2003 16:36:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-tr-utility/m-p/2780111#M74410</guid>
      <dc:creator>Sharvil Desai</dc:creator>
      <dc:date>2003-10-09T16:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: using tr utility</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-tr-utility/m-p/2780112#M74411</link>
      <description>Sharvil&lt;BR /&gt;I know you're sorted now but you may like to look at the "expand" command, which is specifically to remove tabs.&lt;BR /&gt;--&lt;BR /&gt;expand -t 1 view.txt will do what you want.&lt;BR /&gt;--&lt;BR /&gt;-- Graham</description>
      <pubDate>Fri, 10 Oct 2003 09:46:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-tr-utility/m-p/2780112#M74411</guid>
      <dc:creator>Graham Cameron_1</dc:creator>
      <dc:date>2003-10-10T09:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: using tr utility</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-tr-utility/m-p/2780113#M74412</link>
      <description>Great! I learned something new! Thnx for your feedback, Graham!</description>
      <pubDate>Fri, 10 Oct 2003 09:50:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-tr-utility/m-p/2780113#M74412</guid>
      <dc:creator>Sharvil Desai</dc:creator>
      <dc:date>2003-10-10T09:50:17Z</dc:date>
    </item>
  </channel>
</rss>

