<?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: awk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/awk/m-p/4965221#M787045</link>
    <description>The difference between utilities in /sbin and those in /usr/bin is that the /sbin versions are statically linked. This make them less efficient in memory use BUT makes it possible for them to execute before shared libraries (generally found in /usr/lib) are available because the filesystems that house them have not yet been mounted. Important utilities that are needed in single-user mode are statically linked and placed in /sbin.</description>
    <pubDate>Tue, 07 Mar 2006 12:17:16 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2006-03-07T12:17:16Z</dc:date>
    <item>
      <title>awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk/m-p/4965219#M787043</link>
      <description>Waht is the difference beetween&lt;BR /&gt;/sbin/awk &amp;amp; /usr/bin/awk ?&lt;BR /&gt;besides exec size :&lt;BR /&gt;# ll /sbin/awk /usr/bin/awk&lt;BR /&gt;-r-xr-xr-x 1 bin bin 598016 Mar 11 2004 /sbin/awk&lt;BR /&gt;-r-xr-xr-x 1 bin bin 180224 Aug 27 2004 /usr/bin/awk&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Mar 2006 12:08:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk/m-p/4965219#M787043</guid>
      <dc:creator>SO_1</dc:creator>
      <dc:date>2006-03-07T12:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk/m-p/4965220#M787044</link>
      <description># file /sbin/awk &lt;BR /&gt;/sbin/awk:      PA-RISC1.1 shared executable&lt;BR /&gt;# file /usr/bin/awk&lt;BR /&gt;/usr/bin/awk:   PA-RISC1.1 shared executable dynamically linked&lt;BR /&gt;&lt;BR /&gt;What OS version and patch level do you have?&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Tue, 07 Mar 2006 12:15:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk/m-p/4965220#M787044</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2006-03-07T12:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk/m-p/4965221#M787045</link>
      <description>The difference between utilities in /sbin and those in /usr/bin is that the /sbin versions are statically linked. This make them less efficient in memory use BUT makes it possible for them to execute before shared libraries (generally found in /usr/lib) are available because the filesystems that house them have not yet been mounted. Important utilities that are needed in single-user mode are statically linked and placed in /sbin.</description>
      <pubDate>Tue, 07 Mar 2006 12:17:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk/m-p/4965221#M787045</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-07T12:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk/m-p/4965222#M787046</link>
      <description>If you do a "what" command on each of them I think you'll find that they are both the same version.  I would think that the one in /sbin/ is fully linked, and the one in /usr/bin/ uses shared modules (like demand load libraries) at run time.  That would explain the difference in executable size.  This would be useful b/c HP boxes don't come up in single user mode with /usr mounted.  So, it's part of the tool set for admins (sbin probably stands for system bin) which would presumably be mountable during single user operations while the /usr partition is being worked on, or unavailable for whatever reason.&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Mar 2006 12:18:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk/m-p/4965222#M787046</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2006-03-07T12:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk/m-p/4965223#M787047</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Doing an ldd on the awk executables should confirm that one is statically linked and the other is dynamically linked.&lt;BR /&gt;&lt;BR /&gt;# ldd -v /sbin/awk&lt;BR /&gt;&amp;lt;...should say not a shared executable&amp;gt;&lt;BR /&gt;&lt;BR /&gt;# ldd -v /usr/bin/awk&lt;BR /&gt;&amp;lt;...should show the shared library dependencies&amp;gt;&lt;BR /&gt;&lt;BR /&gt;cheers!</description>
      <pubDate>Tue, 07 Mar 2006 12:38:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk/m-p/4965223#M787047</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-03-07T12:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk/m-p/4965224#M787048</link>
      <description>Thank you everybody,&lt;BR /&gt;&lt;BR /&gt;I was expecting something like that&lt;BR /&gt;but I was not sure because on Solaris there is awk &amp;amp; nawk in several places, with each a different behavior...&lt;BR /&gt;I'll chose /usr/bin/awk to put in my scripts</description>
      <pubDate>Tue, 07 Mar 2006 13:02:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk/m-p/4965224#M787048</guid>
      <dc:creator>SO_1</dc:creator>
      <dc:date>2006-03-07T13:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk/m-p/4965225#M787049</link>
      <description>Then you should have asked your question like that. Under HP-UX awk is nawk. After all, n(ew )awk has been around now for decades.</description>
      <pubDate>Tue, 07 Mar 2006 13:16:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk/m-p/4965225#M787049</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-07T13:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk/m-p/4965226#M787050</link>
      <description>How did a rabbit get assigned with no points?</description>
      <pubDate>Tue, 07 Mar 2006 13:24:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk/m-p/4965226#M787050</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2006-03-07T13:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk/m-p/4965227#M787051</link>
      <description>It's not a bug; it's a feature. Closing a thread automatically assigns a Bunny Wabbit.</description>
      <pubDate>Tue, 07 Mar 2006 13:35:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk/m-p/4965227#M787051</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-07T13:35:56Z</dc:date>
    </item>
  </channel>
</rss>

