<?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: hp-ux B.11.11 U in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262686#M674528</link>
    <description>and of course, newer linux distributions are heading towards the dash shell as "compliant with the latest POSIX standards" (which I can't speak to) and the recommendation to use "printf" instead of "echo" (due to the differing implementations of echo).&lt;BR /&gt;&lt;BR /&gt;the more shells the merrier i guess....meanwhile I continue to muddle along with sh (or sometimes ksh).</description>
    <pubDate>Mon, 08 Sep 2008 19:33:05 GMT</pubDate>
    <dc:creator>OldSchool</dc:creator>
    <dc:date>2008-09-08T19:33:05Z</dc:date>
    <item>
      <title>hp-ux B.11.11 U</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262674#M674516</link>
      <description>How can I install BASH on this HP-UX server?</description>
      <pubDate>Wed, 03 Sep 2008 22:22:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262674#M674516</guid>
      <dc:creator>Cory Thorson</dc:creator>
      <dc:date>2008-09-03T22:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: hp-ux B.11.11 U</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262675#M674517</link>
      <description>Here is the software you need to install&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Shells/bash-3.2/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Shells/bash-3.2/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Wed, 03 Sep 2008 22:24:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262675#M674517</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2008-09-03T22:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: hp-ux B.11.11 U</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262676#M674518</link>
      <description>Should installing BASH cause any problems with other shells, users, or Informix?</description>
      <pubDate>Wed, 03 Sep 2008 22:26:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262676#M674518</guid>
      <dc:creator>Cory Thorson</dc:creator>
      <dc:date>2008-09-03T22:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: hp-ux B.11.11 U</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262677#M674519</link>
      <description>BASH is fine -- except root *must* always use /sbin/sh which is a full POSIX shell (like BASH) and is not the Bourne shell (/usr/old/bin/sh). Note that you should add the bash path to /etc/shells so that users that want bash can also use ftp. If /etc/shells does not exist, create it like this:&lt;BR /&gt; &lt;BR /&gt;/usr/bin/sh&lt;BR /&gt;/usr/bin/csh&lt;BR /&gt;/usr/bin/ksh&lt;BR /&gt;/bin/sh&lt;BR /&gt;/bin/csh&lt;BR /&gt;/bin/ksh&lt;BR /&gt;/usr/local/bin/bash&lt;BR /&gt; &lt;BR /&gt;(or wherever you locate bash) The /bin locations are redundant since /bin is not a real directory.&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 03 Sep 2008 22:44:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262677#M674519</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-09-03T22:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: hp-ux B.11.11 U</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262678#M674520</link>
      <description>&amp;gt;Bill: /bin locations are redundant since /bin is not a real directory.&lt;BR /&gt;&lt;BR /&gt;/bin is required is that's what is in /etc/passwd.  I.e. if you are sharing users with NIS over HP-UX and linux.</description>
      <pubDate>Thu, 04 Sep 2008 05:23:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262678#M674520</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-09-04T05:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: hp-ux B.11.11 U</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262679#M674521</link>
      <description>&amp;gt; Dennis: /bin is required is that's what is in /etc/passwd. I.e. if you are sharing users with NIS over HP-UX and linux.&lt;BR /&gt; &lt;BR /&gt;Correct. I keep forgetting about NIS in these days of high security. And although it is hidden quite well (not in ftpd or shells man pages), the man page for getusershell provides a list of default shells when /etc/shells is not present. It too is incorrect by not defaulting the symlink /bin paths. However, it does include the restricted shells (ie, rksh, rsh). So a more complete /etc/shells might be:&lt;BR /&gt; &lt;BR /&gt;/usr/bin/sh&lt;BR /&gt;/usr/bin/sh&lt;BR /&gt;/usr/bin/csh&lt;BR /&gt;/usr/bin/ksh&lt;BR /&gt;/usr/bin/sh&lt;BR /&gt;/usr/bin/keysh&lt;BR /&gt;/bin/sh&lt;BR /&gt;/bin/rsh&lt;BR /&gt;/bin/csh&lt;BR /&gt;/bin/ksh&lt;BR /&gt;/bin/rksh&lt;BR /&gt;/usr/bin/keysh&lt;BR /&gt;/usr/local/bin/bash&lt;BR /&gt; &lt;BR /&gt;(does anyone use keysh anymore?)</description>
      <pubDate>Thu, 04 Sep 2008 09:47:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262679#M674521</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-09-04T09:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: hp-ux B.11.11 U</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262680#M674522</link>
      <description>I tried running bash it and I get the following error:&lt;BR /&gt;&lt;BR /&gt;/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libiconv.sl&lt;BR /&gt;/usr/lib/dld.sl: No such file or directory&lt;BR /&gt;&lt;BR /&gt;I searched your forum and found reference to this link&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Development/Libraries/libiconv-1.10/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Development/Libraries/libiconv-1.10/&lt;/A&gt; &lt;BR /&gt;but it is a dead link. &lt;BR /&gt;&lt;BR /&gt;Any suggestions?</description>
      <pubDate>Thu, 04 Sep 2008 22:23:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262680#M674522</guid>
      <dc:creator>Cory Thorson</dc:creator>
      <dc:date>2008-09-04T22:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: hp-ux B.11.11 U</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262681#M674523</link>
      <description>&amp;gt; libiconv.sl&lt;BR /&gt; &lt;BR /&gt;It sounds like you did not download all the dependencies. If you got the package from the Porting Centre, the dependent pacakges are: gettext libiconv termcap.&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Shells/bash-3.2/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Shells/bash-3.2/&lt;/A&gt;</description>
      <pubDate>Fri, 05 Sep 2008 00:53:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262681#M674523</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-09-05T00:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: hp-ux B.11.11 U</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262682#M674524</link>
      <description>I don't understand why all want to have bash ... anyway, you need this too:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Gnu/gettext-0.17/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Gnu/gettext-0.17/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Development/Libraries/libiconv-1.12/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Development/Libraries/libiconv-1.12/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Development/Libraries/termcap-1.3.1/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Development/Libraries/termcap-1.3.1/&lt;/A&gt;</description>
      <pubDate>Fri, 05 Sep 2008 04:44:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262682#M674524</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-09-05T04:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: hp-ux B.11.11 U</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262683#M674525</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Torsten: I don't understand why all want to have bash ...&lt;BR /&gt;&lt;BR /&gt;I suspect it comes from those who feet also stand in Linux circles where the 'bash' is a standard.  I *do* like its command history features better than our POSIX shell and I suspect too, that its devotees like the ability to use the arrow keys for command recall.  A nice feature is the fact that a repeated command can be optioned to only be stored once ih the history buffer.&lt;BR /&gt;&lt;BR /&gt;I find that the 'bash' shell has some very annoying differences, most notably in the way it treats 'echo' escapes [I add 'shopt -s xpg_echo' to scripts I port] and in the lack of ability to do:&lt;BR /&gt;&lt;BR /&gt;# echo "a b c"|read X Y Z;echo ${Z}&lt;BR /&gt;c&lt;BR /&gt;&lt;BR /&gt;...in HP 'sh' but *NOT* in 'bash' (yielding an empty ${Z} variable!).&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 05 Sep 2008 11:03:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262683#M674525</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-09-05T11:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: hp-ux B.11.11 U</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262684#M674526</link>
      <description>James,&lt;BR /&gt;&lt;BR /&gt;Yes its alway been my understanding that pipelines in bash are run in subshells, so:&lt;BR /&gt;&lt;BR /&gt;mycommand | read myvar&lt;BR /&gt;&lt;BR /&gt;will only set ${myvar} for the subshell, any attempt to use ${myvar} after that will fail. &lt;BR /&gt;&lt;BR /&gt;However:&lt;BR /&gt;mycommand | while read myvar&lt;BR /&gt;do&lt;BR /&gt;    echo "myvar is ${myvar}"&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;works fine, as the entire while statement runs in the subshell&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Fri, 05 Sep 2008 11:14:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262684#M674526</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2008-09-05T11:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: hp-ux B.11.11 U</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262685#M674527</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;@ Duncan:  I had once discovered that imposition of a 'while' loop in the pipeline enabled me to use the shell 'read' to autosplit and assign, but I hadn't understood why.  Now I do, thanks to you!&lt;BR /&gt;&lt;BR /&gt;Warmest regards, Duncan!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 05 Sep 2008 11:52:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262685#M674527</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-09-05T11:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: hp-ux B.11.11 U</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262686#M674528</link>
      <description>and of course, newer linux distributions are heading towards the dash shell as "compliant with the latest POSIX standards" (which I can't speak to) and the recommendation to use "printf" instead of "echo" (due to the differing implementations of echo).&lt;BR /&gt;&lt;BR /&gt;the more shells the merrier i guess....meanwhile I continue to muddle along with sh (or sometimes ksh).</description>
      <pubDate>Mon, 08 Sep 2008 19:33:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-u/m-p/4262686#M674528</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-09-08T19:33:05Z</dc:date>
    </item>
  </channel>
</rss>

