<?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: Proper SYNTAX for EXPORTing variables in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-syntax-for-exporting-variables/m-p/5265104#M655271</link>
    <description>What shell are you using?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Thu, 02 Dec 2010 15:14:14 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2010-12-02T15:14:14Z</dc:date>
    <item>
      <title>Proper SYNTAX for EXPORTing variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-syntax-for-exporting-variables/m-p/5265102#M655269</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;ScritA calls ScriptB&lt;BR /&gt;&lt;BR /&gt;In ScriptA&lt;BR /&gt;SERVER="mecury"&lt;BR /&gt;export SERVER&lt;BR /&gt;&lt;BR /&gt;In ScriptB&lt;BR /&gt;echo $SERVER&lt;BR /&gt;&lt;BR /&gt;And it prints nada.&lt;BR /&gt;&lt;BR /&gt;What up?</description>
      <pubDate>Thu, 02 Dec 2010 14:37:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/proper-syntax-for-exporting-variables/m-p/5265102#M655269</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2010-12-02T14:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proper SYNTAX for EXPORTing variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-syntax-for-exporting-variables/m-p/5265103#M655270</link>
      <description>Hey;&lt;BR /&gt;&lt;BR /&gt;Works for me...&lt;BR /&gt;&lt;BR /&gt;$ cat A B&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;&lt;BR /&gt;Server="mercury"&lt;BR /&gt;export Server&lt;BR /&gt;&lt;BR /&gt;./B&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;&lt;BR /&gt;echo $Server&lt;BR /&gt;$ ./A&lt;BR /&gt;mercury&lt;BR /&gt;&lt;BR /&gt;You sure you're not stomping SERVER somewhere in ScriptB?&lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Thu, 02 Dec 2010 15:00:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/proper-syntax-for-exporting-variables/m-p/5265103#M655270</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2010-12-02T15:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Proper SYNTAX for EXPORTing variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-syntax-for-exporting-variables/m-p/5265104#M655271</link>
      <description>What shell are you using?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 02 Dec 2010 15:14:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/proper-syntax-for-exporting-variables/m-p/5265104#M655271</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2010-12-02T15:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Proper SYNTAX for EXPORTing variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-syntax-for-exporting-variables/m-p/5265105#M655272</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Source 'ScriptA' so that a separate environment isn't created for it:&lt;BR /&gt;&lt;BR /&gt;# . ./ScriptA&lt;BR /&gt;# ./ScriptB&lt;BR /&gt;&lt;BR /&gt;...or for that matter, *within* 'ScriptB' do:&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;. ./ScriptA&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Note that shell sourcing is done with a dot, followed by whitespace, followed by the script name.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 02 Dec 2010 15:17:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/proper-syntax-for-exporting-variables/m-p/5265105#M655272</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-12-02T15:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proper SYNTAX for EXPORTing variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-syntax-for-exporting-variables/m-p/5265107#M655274</link>
      <description>&amp;gt;SERVER="mecury"&lt;BR /&gt;&amp;gt;export SERVER&lt;BR /&gt;&lt;BR /&gt;This is the old borne shell way of doing things.  In a real shell you can use:&lt;BR /&gt;export SERVER="mecury"</description>
      <pubDate>Fri, 03 Dec 2010 20:55:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/proper-syntax-for-exporting-variables/m-p/5265107#M655274</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-12-03T20:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Proper SYNTAX for EXPORTing variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-syntax-for-exporting-variables/m-p/5265108#M655275</link>
      <description>&lt;!--!*#--&gt;Note that, as usual, showing an actual&lt;BR /&gt;failing test case instead of a vague&lt;BR /&gt;description ("ScritA calls ScriptB", where&lt;BR /&gt;"calls" is not well defined) would make this&lt;BR /&gt;problem easier to diagnose with less reliance&lt;BR /&gt;on guesswork/intuition.&lt;BR /&gt;&lt;BR /&gt;Just a thought.</description>
      <pubDate>Sat, 04 Dec 2010 23:16:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/proper-syntax-for-exporting-variables/m-p/5265108#M655275</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-12-04T23:16:22Z</dc:date>
    </item>
  </channel>
</rss>

