AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only

Unix command parameters, global variables and conventions

  • 1.  Unix command parameters, global variables and conventions

    Posted Fri January 08, 2016 09:23 PM

    Originally posted by: dkcc


    I recently discovered that AIX Development decided to break from Unix convention by redefining how the man in AIX 7.1

    utilizes the MANPATH shell variable and -M optional parameter.

    In AIX 7100-04-01-1543 man no longer uses the search path defined by the user in his .profile to begin the search.

    It seems that AIX now will append the MANPATH to the end of a search string that begins with /usr/share/man:/usr/dt/man

    Unlike in the past one could over ride the shell and default search path by using the -M option.  AIX 7.1 man continues to

    begin the search via the AIX man predefined search string.  To allow the user to tell man to begin the search at a specific

    directory AIX Development has added a new optional parameter -m.  By combining the two options ( that is; -mM) one

    can now tell man that the search should begin with the directory specified by the -mM  option.

    It has taken me many hours of effort (Including the opening of a PMR) to reach this point.

    My question is does anyone know what other standard Unix applications AIX Development has chosen to

    redefine how they utilize shell global variable and optional parameters?

    It really is no fun trying to figure out why a command that worked in AIX5.3 no longer works in AIX 7.1.


    #AIX-Forum