<?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: read in file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/read-in-file/m-p/2765518#M894557</link>
    <description>Thanks for that quick reply. But where does the read bytes go. Is there an internal buffer?</description>
    <pubDate>Wed, 17 Jul 2002 04:48:41 GMT</pubDate>
    <dc:creator>Bhoyet Orillo</dc:creator>
    <dc:date>2002-07-17T04:48:41Z</dc:date>
    <item>
      <title>read in file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/read-in-file/m-p/2765516#M894555</link>
      <description>Is there a way to read a specified number of bytes in&lt;BR /&gt;a file using a script?</description>
      <pubDate>Wed, 17 Jul 2002 04:28:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/read-in-file/m-p/2765516#M894555</guid>
      <dc:creator>Bhoyet Orillo</dc:creator>
      <dc:date>2002-07-17T04:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: read in file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/read-in-file/m-p/2765517#M894556</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Following will read just the first 8 bytes from your input file (whether in binary or text).&lt;BR /&gt;&lt;BR /&gt;# dd if=input_file bs=1 count=8&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Wed, 17 Jul 2002 04:40:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/read-in-file/m-p/2765517#M894556</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-07-17T04:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: read in file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/read-in-file/m-p/2765518#M894557</link>
      <description>Thanks for that quick reply. But where does the read bytes go. Is there an internal buffer?</description>
      <pubDate>Wed, 17 Jul 2002 04:48:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/read-in-file/m-p/2765518#M894557</guid>
      <dc:creator>Bhoyet Orillo</dc:creator>
      <dc:date>2002-07-17T04:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: read in file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/read-in-file/m-p/2765519#M894558</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can redirect the read bytes either to a file (use -of option or &amp;gt; redirection) or you can pipe it somewhere else (use |). If neither is used, it will be displayed as STDOUT.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Wed, 17 Jul 2002 06:09:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/read-in-file/m-p/2765519#M894558</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-07-17T06:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: read in file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/read-in-file/m-p/2765520#M894559</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;You can also capture it directly into a variable of your choice.  For instance:&lt;BR /&gt;&lt;BR /&gt;# X=`dd if=/etc/hosts bs=1 count=60`&lt;BR /&gt;# echo $X&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 17 Jul 2002 12:23:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/read-in-file/m-p/2765520#M894559</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-07-17T12:23:35Z</dc:date>
    </item>
  </channel>
</rss>

