Unix/Linux Go Back    


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

Set, setenv or export? Confused between three options

HP-UX


Closed    
 
Thread Tools Search this Thread Display Modes
    #8  
Old Unix and Linux 04-25-2017   -   Original Discussion by userexperience
MadeInGermany MadeInGermany is offline Forum Staff  
Moderator
 
Join Date: May 2012
Last Activity: 18 November 2017, 2:39 PM EST
Location: Simplicity
Posts: 3,822
Thanks: 318
Thanked 1,281 Times in 1,159 Posts
The HP-UX 11i man page says:

Code:
ENV  If this parameter is set, parameter substitution
   is performed on the value to generate the path
   name of the script to be executed when the shell
   is invoked (see Invoking ksh below). This file is
   typically used for alias and function definitions.

I does not mention .kshrc. And practical tests prove that only the ENV is implemented, and it works in both interactive and non-interactive shells.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
setenv. max_475 UNIX for Advanced & Expert Users 7 12-17-2008 09:03 PM
difference between EXPORT and setenv dexkid UNIX for Dummies Questions & Answers 3 02-07-2008 03:06 AM
setenv in script kosta_mirkin Shell Programming and Scripting 2 01-12-2005 01:28 AM
What 's setenv? myoeminn Shell Programming and Scripting 2 03-05-2002 09:24 PM



All times are GMT -4. The time now is 07:20 PM.