<?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: null char in text file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/null-char-in-text-file/m-p/2924814#M110334</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It depends on where you want to insert the null character. I use 'tr' to accomplish this. For ex., to replace End of Line with a null char , I would do the following&lt;BR /&gt;&lt;BR /&gt;tr "\n" "\0" &amp;lt; your_file&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Wed, 12 Mar 2003 03:28:42 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2003-03-12T03:28:42Z</dc:date>
    <item>
      <title>null char in text file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/null-char-in-text-file/m-p/2924812#M110332</link>
      <description>I have a developer server whit hp-ux 11i.&lt;BR /&gt;The developers users ask me how they can insert a char null in the a text file.&lt;BR /&gt;They view the text file in hexadecimal format and  search the 00 value that is the null char.&lt;BR /&gt;They need to now how write the null character in the text file, the null character is the 00 in hexadecimal&lt;BR /&gt;&lt;BR /&gt;How i can write this char?&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Mar 2003 02:12:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/null-char-in-text-file/m-p/2924812#M110332</guid>
      <dc:creator>Jimmy_13</dc:creator>
      <dc:date>2003-03-12T02:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: null char in text file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/null-char-in-text-file/m-p/2924813#M110333</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm not at work so I can't test this, but I would try something like this:&lt;BR /&gt;&lt;BR /&gt;echo "\000" &amp;gt;&amp;gt;text.file&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Mar 2003 02:55:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/null-char-in-text-file/m-p/2924813#M110333</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-03-12T02:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: null char in text file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/null-char-in-text-file/m-p/2924814#M110334</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It depends on where you want to insert the null character. I use 'tr' to accomplish this. For ex., to replace End of Line with a null char , I would do the following&lt;BR /&gt;&lt;BR /&gt;tr "\n" "\0" &amp;lt; your_file&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 12 Mar 2003 03:28:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/null-char-in-text-file/m-p/2924814#M110334</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-03-12T03:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: null char in text file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/null-char-in-text-file/m-p/2924815#M110335</link>
      <description>Hi Jimmy,&lt;BR /&gt;&lt;BR /&gt;# printf "\0"&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;John K.</description>
      <pubDate>Wed, 12 Mar 2003 09:12:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/null-char-in-text-file/m-p/2924815#M110335</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2003-03-12T09:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: null char in text file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/null-char-in-text-file/m-p/2924816#M110336</link>
      <description>Thank a lots, the solutions of Sridhar Bhaskarla &lt;BR /&gt;work perfect.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Mar 2003 19:24:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/null-char-in-text-file/m-p/2924816#M110336</guid>
      <dc:creator>Jimmy_13</dc:creator>
      <dc:date>2003-03-12T19:24:06Z</dc:date>
    </item>
  </channel>
</rss>

