Operating System - HP-UX
1835428 Members
2810 Online
110078 Solutions
New Discussion

How to clean up enviroment file?

 
A. Earl Jackson
Occasional Contributor

How to clean up enviroment file?

I have an enviromental file on a second J210 running HP-UX 10.10 that seems to have a large number of %L, %T, %M characters stuffed between the paths of various directories such as /usr/sbin/ /bin etc. In addition, must of the path directiores repeat between these characters. So, how can an environment file be cleaned to remove these unwanted characters and correct the paths.
JetAdmin printing staircase lines
1 REPLY 1
Mike Stroyan
Honored Contributor

Re: How to clean up enviroment file?

Those %L, %T, and so on are usually intentional tokens automatically replaced by variables such as the current LANG value. Have a look at their description in "man environ" and "man XtResolvePathname"-
http://devresource.hp.com/STK/man/11.00/environ_5.html
http://devresource.hp.com/STK/man/11.00/XtResolvePathname_3x.html