<?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: How to assign varibale in another variable in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-assign-varibale-in-another-variable/m-p/4506337#M654020</link>
    <description>it must be worked :&lt;BR /&gt;&lt;BR /&gt;agui02# ksh&lt;BR /&gt;agui02# echo $0&lt;BR /&gt;ksh&lt;BR /&gt;agui02# ser=as&lt;BR /&gt;agui02# eval adb$ser=4&lt;BR /&gt;agui02# echo adb$ser  &lt;BR /&gt;adbas&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 05 Oct 2009 06:25:41 GMT</pubDate>
    <dc:creator>Hakki Aydin Ucar</dc:creator>
    <dc:date>2009-10-05T06:25:41Z</dc:date>
    <item>
      <title>How to assign varibale in another variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-assign-varibale-in-another-variable/m-p/4506333#M654016</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I'm facing one issue in shell script :&lt;BR /&gt;I assign some value to a variable ser and now I want to assign some value to another varibale i.e.like adb$ser as below :&lt;BR /&gt; &lt;BR /&gt;$ ser=as&lt;BR /&gt;$ abd$ser=4&lt;BR /&gt; ksh: adbas=4: not found&lt;BR /&gt;&lt;BR /&gt;but I'm geeting error as shown above, pl. help me to resolev it. &lt;BR /&gt;thx in advance&lt;BR /&gt;sanjeev gupta</description>
      <pubDate>Thu, 01 Oct 2009 12:41:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-assign-varibale-in-another-variable/m-p/4506333#M654016</guid>
      <dc:creator>Sanjeev gupta_2</dc:creator>
      <dc:date>2009-10-01T12:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign varibale in another variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-assign-varibale-in-another-variable/m-p/4506334#M654017</link>
      <description>&lt;!--!*#--&gt;bash$ ser=as&lt;BR /&gt;bash$ eval abd$ser=4&lt;BR /&gt;bash$ echo $abdas&lt;BR /&gt;4&lt;BR /&gt;&lt;BR /&gt;"man &lt;YOUR_SHELL&gt;", look for "eval".&lt;/YOUR_SHELL&gt;</description>
      <pubDate>Thu, 01 Oct 2009 13:27:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-assign-varibale-in-another-variable/m-p/4506334#M654017</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-10-01T13:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign varibale in another variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-assign-varibale-in-another-variable/m-p/4506335#M654018</link>
      <description>I'm not able to do it. I'm usinh korn shell and getting same error.&lt;BR /&gt;Pl. help me out on it.&lt;BR /&gt;sanjev gupta</description>
      <pubDate>Mon, 05 Oct 2009 06:03:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-assign-varibale-in-another-variable/m-p/4506335#M654018</guid>
      <dc:creator>Sanjeev gupta_2</dc:creator>
      <dc:date>2009-10-05T06:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign varibale in another variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-assign-varibale-in-another-variable/m-p/4506336#M654019</link>
      <description>with the eval it should  work&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;under ksh I did exactly&lt;BR /&gt;# ser=as&lt;BR /&gt;# eval abd$ser=4&lt;BR /&gt;# echo $abdas&lt;BR /&gt;4&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if it doesn't work you can try&lt;BR /&gt;# set -x&lt;BR /&gt;# ser=as&lt;BR /&gt;# eval abd$ser=4&lt;BR /&gt;&lt;BR /&gt;It will display the line it is trying to execute before executing it.</description>
      <pubDate>Mon, 05 Oct 2009 06:15:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-assign-varibale-in-another-variable/m-p/4506336#M654019</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2009-10-05T06:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign varibale in another variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-assign-varibale-in-another-variable/m-p/4506337#M654020</link>
      <description>it must be worked :&lt;BR /&gt;&lt;BR /&gt;agui02# ksh&lt;BR /&gt;agui02# echo $0&lt;BR /&gt;ksh&lt;BR /&gt;agui02# ser=as&lt;BR /&gt;agui02# eval adb$ser=4&lt;BR /&gt;agui02# echo adb$ser  &lt;BR /&gt;adbas&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Oct 2009 06:25:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-assign-varibale-in-another-variable/m-p/4506337#M654020</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2009-10-05T06:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign varibale in another variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-assign-varibale-in-another-variable/m-p/4506338#M654021</link>
      <description>Sorry I missed the last line:&lt;BR /&gt;&lt;BR /&gt;agui02# echo $adbas&lt;BR /&gt;4&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Oct 2009 06:28:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-assign-varibale-in-another-variable/m-p/4506338#M654021</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2009-10-05T06:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign varibale in another variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-assign-varibale-in-another-variable/m-p/4506339#M654022</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I'm not able to do it.&lt;BR /&gt;&lt;BR /&gt;You're not able to do _what_?&lt;BR /&gt;&lt;BR /&gt;Showing actual commands with their actual&lt;BR /&gt;output can be more helpful than vague (or no)&lt;BR /&gt;descriptions and interpretations.&lt;BR /&gt;&lt;BR /&gt;You know, like what _every_ answer here did.</description>
      <pubDate>Mon, 05 Oct 2009 13:48:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-assign-varibale-in-another-variable/m-p/4506339#M654022</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-10-05T13:48:32Z</dc:date>
    </item>
  </channel>
</rss>

