[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
970617: building netCDF on an HP-UX <something>
- Subject: 970617: building netCDF on an HP-UX <something>
- Date: Thu, 17 Jul 97 10:24:50 -0600
Bill,
>Date: Thu, 17 Jul 1997 12:09:57 -0400
>From: Bill Hudson <address@hidden>
>Organization: Pennsylvania State University/Applied Research Laboratory
>To: Steve Emmerson <address@hidden>
>Subject: Re: 970616: building netCDF on an HP-UX <something>
>Keywords: 199707151311.HAA19835
In the above message, you wrote:
> I apparently am working with the "sh" Bourne shell since I have the "$" on
> my terminal and I get SHELL=/bin/sh as one of the outputs of the "set" or
> "env" commands. I can not locate any instruction FOO to be set to bar,
> (FOObar). I looked under sh, env, environ, profile, exec, an HP-UX
> reference, various HP Visual Environment manuals, HP C++ manuals and a Waite
> group UNIX Primer Plus Second Edition. Unfortunately the UNIX Primer Plus is
> written about BSD Unix vs. Bourne.
>
> Any suggestions on how I should proceed?
You should be able to access the manual page for the sh(1) shell via the
following command:
man sh
From the manual page, you should learn about environment variables.
Try executing the following commands:
FOO=bar
sh -c 'echo no export: $FOO'
export FOO
sh -c 'echo with export: $FOO'
What is the output?
--------
Steve Emmerson <http://www.unidata.ucar.edu>