<?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 Insert special character in text file in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/insert-special-character-in-text-file/m-p/5151533#M50267</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;I'd like to do something like that:&lt;BR /&gt;&lt;BR /&gt;echo $1$2&lt;BR /&gt;&lt;BR /&gt;But between $1 and $2 I'd like to insert a TAB character (ascii 9). &lt;BR /&gt;&lt;BR /&gt;How to do this small trick ?&lt;BR /&gt;&lt;BR /&gt;Bests Regards&lt;BR /&gt;Den</description>
    <pubDate>Tue, 20 Jan 2009 16:05:11 GMT</pubDate>
    <dc:creator>Leo The Cat</dc:creator>
    <dc:date>2009-01-20T16:05:11Z</dc:date>
    <item>
      <title>Insert special character in text file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/insert-special-character-in-text-file/m-p/5151533#M50267</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I'd like to do something like that:&lt;BR /&gt;&lt;BR /&gt;echo $1$2&lt;BR /&gt;&lt;BR /&gt;But between $1 and $2 I'd like to insert a TAB character (ascii 9). &lt;BR /&gt;&lt;BR /&gt;How to do this small trick ?&lt;BR /&gt;&lt;BR /&gt;Bests Regards&lt;BR /&gt;Den</description>
      <pubDate>Tue, 20 Jan 2009 16:05:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/insert-special-character-in-text-file/m-p/5151533#M50267</guid>
      <dc:creator>Leo The Cat</dc:creator>
      <dc:date>2009-01-20T16:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Insert special character in text file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/insert-special-character-in-text-file/m-p/5151534#M50268</link>
      <description>Hi leo \t will do the tab output.&lt;BR /&gt;&lt;BR /&gt;echo "$1\t$2"</description>
      <pubDate>Tue, 20 Jan 2009 16:07:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/insert-special-character-in-text-file/m-p/5151534#M50268</guid>
      <dc:creator>Shoghi Martinez G.</dc:creator>
      <dc:date>2009-01-20T16:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Insert special character in text file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/insert-special-character-in-text-file/m-p/5151535#M50269</link>
      <description>note the "quotes"</description>
      <pubDate>Tue, 20 Jan 2009 16:09:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/insert-special-character-in-text-file/m-p/5151535#M50269</guid>
      <dc:creator>Shoghi Martinez G.</dc:creator>
      <dc:date>2009-01-20T16:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Insert special character in text file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/insert-special-character-in-text-file/m-p/5151536#M50270</link>
      <description>Shogi answer is perfect.</description>
      <pubDate>Tue, 20 Jan 2009 16:10:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/insert-special-character-in-text-file/m-p/5151536#M50270</guid>
      <dc:creator>Leo The Cat</dc:creator>
      <dc:date>2009-01-20T16:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Insert special character in text file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/insert-special-character-in-text-file/m-p/5151537#M50271</link>
      <description>&lt;!--!*#--&gt;You could just use a Tab character, too.  The&lt;BR /&gt;quotation marks are the critical things.&lt;BR /&gt;&lt;BR /&gt;Among uncounted other possibilities:&lt;BR /&gt;&lt;BR /&gt;bash$ a=A&lt;BR /&gt;bash$ b=B&lt;BR /&gt;bash$ echo "$a  $b"&lt;BR /&gt;A       B&lt;BR /&gt;bash$ echo $a'  '$b&lt;BR /&gt;A       B&lt;BR /&gt;&lt;BR /&gt;(Due to Forum limitations, you'll need to&lt;BR /&gt;imagine that there are actual Tab characters&lt;BR /&gt;in there.)&lt;BR /&gt;&lt;BR /&gt;Using a Tab character may be unwise, however,&lt;BR /&gt;if you're actually sending it to a terminal&lt;BR /&gt;(or emulator).  What you see on a terminal&lt;BR /&gt;depends on the terminal's tab settings, over&lt;BR /&gt;which you may have little or no control.  The&lt;BR /&gt;result can be very ugly output.</description>
      <pubDate>Tue, 20 Jan 2009 16:26:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/insert-special-character-in-text-file/m-p/5151537#M50271</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-01-20T16:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Insert special character in text file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/insert-special-character-in-text-file/m-p/5151538#M50272</link>
      <description>I think  Shoghi Martinez G. solution works 100% if "-e" will be used&lt;BR /&gt;&lt;BR /&gt;echo -e "$1\t$2"&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 22 Jan 2009 08:15:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/insert-special-character-in-text-file/m-p/5151538#M50272</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2009-01-22T08:15:44Z</dc:date>
    </item>
  </channel>
</rss>

