<?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: HEX in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hex/m-p/2690691#M55334</link>
    <description>Hi Robert &lt;BR /&gt;Try this&lt;BR /&gt;&lt;BR /&gt;To convert from decimal to hex (we are setting the output base 16, leaving input at 10): &lt;BR /&gt;&lt;BR /&gt;$ bc -l &lt;BR /&gt;obase=16 &lt;BR /&gt;256*1024*1024 &lt;BR /&gt;10000000 &lt;BR /&gt;255 &lt;BR /&gt;FF &lt;BR /&gt;quit &lt;BR /&gt;&lt;BR /&gt;To convert hex numbers to decimal (we are setting the input base to base 16, leaving the output base at 10) &lt;BR /&gt;&lt;BR /&gt;$ bc -l &lt;BR /&gt;ibase=16 &lt;BR /&gt;FF &lt;BR /&gt;255 &lt;BR /&gt;40000000 &lt;BR /&gt;1073741824 &lt;BR /&gt;FFFF &lt;BR /&gt;65535 &lt;BR /&gt;quit &lt;BR /&gt;&lt;BR /&gt;Here is my orininal post when I had the same q.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/0,,0x6b743fd7f72ad611abd50090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/0,,0x6b743fd7f72ad611abd50090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Richard&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 26 Mar 2002 15:27:26 GMT</pubDate>
    <dc:creator>someone_4</dc:creator>
    <dc:date>2002-03-26T15:27:26Z</dc:date>
    <item>
      <title>HEX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hex/m-p/2690684#M55327</link>
      <description>Is there a UNIX commonsd that can convert hex to decimal? I need it bad, I can't remember and I have no calculator. Im a baby boomer. Wnt through school with a calc.</description>
      <pubDate>Tue, 26 Mar 2002 13:32:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hex/m-p/2690684#M55327</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2002-03-26T13:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: HEX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hex/m-p/2690685#M55328</link>
      <description>check this link out:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x8b80dfe5920fd5118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x8b80dfe5920fd5118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Mar 2002 13:37:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hex/m-p/2690685#M55328</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-03-26T13:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: HEX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hex/m-p/2690686#M55329</link>
      <description>here, the link corrected:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe6c56af52b04d5118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe6c56af52b04d5118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Mar 2002 13:38:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hex/m-p/2690686#M55329</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-03-26T13:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: HEX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hex/m-p/2690687#M55330</link>
      <description>Hi Robert,&lt;BR /&gt;&lt;BR /&gt;And just so you have options (and a calculator)...&lt;BR /&gt;&lt;BR /&gt;If you have a workstation with CDE..take a look at the toolbar.  On the right side the icon in the middle (looks like a box with a ruler &amp;amp; calculator in it) is the Applications Manager.  Click on this and then on Desktop Apps and you'll see a calculator.  It's what I often use to convert hex/dec.&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Rita&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Mar 2002 13:47:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hex/m-p/2690687#M55330</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2002-03-26T13:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: HEX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hex/m-p/2690688#M55331</link>
      <description>Try xd and od.&lt;BR /&gt;&lt;BR /&gt;I think what you want is xd -s filename.&lt;BR /&gt;&lt;BR /&gt;If this doesn't work try the man pages for xd an od.</description>
      <pubDate>Tue, 26 Mar 2002 14:11:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hex/m-p/2690688#M55331</guid>
      <dc:creator>Krishna Prasad</dc:creator>
      <dc:date>2002-03-26T14:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: HEX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hex/m-p/2690689#M55332</link>
      <description>You can use printf command or bc command.&lt;BR /&gt;In the next both examples the 250 number is printed:&lt;BR /&gt;&lt;BR /&gt;printf "%d\n" 0xfA&lt;BR /&gt;echo "ibase=16; "FA | bc&lt;BR /&gt;&lt;BR /&gt;notices:&lt;BR /&gt;1. printf command needs the hex value preceeded by 0x prefix.&lt;BR /&gt;&lt;BR /&gt;2. printf is not case sensitive.&lt;BR /&gt;&lt;BR /&gt;3. Instead printf, bc is case sensitive for hex values. Look the uppercase letters in second example.</description>
      <pubDate>Tue, 26 Mar 2002 14:29:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hex/m-p/2690689#M55332</guid>
      <dc:creator>Jdamian</dc:creator>
      <dc:date>2002-03-26T14:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: HEX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hex/m-p/2690690#M55333</link>
      <description>Hi Robert,&lt;BR /&gt;&lt;BR /&gt;Windows PCs have a calculator that has a scientific view which lets you input a number in hex then click decimal to convert it.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Tue, 26 Mar 2002 14:59:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hex/m-p/2690690#M55333</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2002-03-26T14:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: HEX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hex/m-p/2690691#M55334</link>
      <description>Hi Robert &lt;BR /&gt;Try this&lt;BR /&gt;&lt;BR /&gt;To convert from decimal to hex (we are setting the output base 16, leaving input at 10): &lt;BR /&gt;&lt;BR /&gt;$ bc -l &lt;BR /&gt;obase=16 &lt;BR /&gt;256*1024*1024 &lt;BR /&gt;10000000 &lt;BR /&gt;255 &lt;BR /&gt;FF &lt;BR /&gt;quit &lt;BR /&gt;&lt;BR /&gt;To convert hex numbers to decimal (we are setting the input base to base 16, leaving the output base at 10) &lt;BR /&gt;&lt;BR /&gt;$ bc -l &lt;BR /&gt;ibase=16 &lt;BR /&gt;FF &lt;BR /&gt;255 &lt;BR /&gt;40000000 &lt;BR /&gt;1073741824 &lt;BR /&gt;FFFF &lt;BR /&gt;65535 &lt;BR /&gt;quit &lt;BR /&gt;&lt;BR /&gt;Here is my orininal post when I had the same q.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/0,,0x6b743fd7f72ad611abd50090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/0,,0x6b743fd7f72ad611abd50090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Richard&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Mar 2002 15:27:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hex/m-p/2690691#M55334</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-03-26T15:27:26Z</dc:date>
    </item>
  </channel>
</rss>

