home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!rpi!news.ans.net!newsgate.watson.ibm.com!yktnews!admin!flu!marc
- From: marc@watson.ibm.com (Marc Auslander)
- Subject: Re: ksh question
- Sender: news@watson.ibm.com (NNTP News Poster)
- Message-ID: <MARC.92Nov5142942@marc.watson.ibm.com>
- In-Reply-To: nick@osf.org's message of 05 Nov 92 14:36:24 GMT
- Date: Thu, 5 Nov 1992 19:29:41 GMT
- Distribution: comp
- Disclaimer: This posting represents the poster's views, not necessarily those of IBM
- References: <265@sabus.UUCP> <1992Oct17.164508.125@chmeds.ac.nz>
- <1992Nov4.071702.14484@awdprime.austin.ibm.com>
- <NICK.92Nov5093629@alphaville.osf.org>
- Nntp-Posting-Host: marc.watson.ibm.com
- Organization: IBM T.J. Watson Research Center, Hawthorne, New York
- Lines: 17
-
- I know that earlier documentation recommended that ENV be set to:
-
- ENV=${START[(_$-=1)+(_=0)-(_$-!=_${-%%*i*})]}
-
- and
-
- START=path-name.
-
- This gibberish causes the script in path-name to be executed
- for login shells, which look like they were invoked as -ksh, but not
- for subshells. This can improve the performance of shell scripts
- significantly if the profile is complicated.
- --
-
-
- Marc Auslander (IBM)<marc@marc.watson.ibm.com> 914 784-6699
- (Internet)<marc@watson.ibm.com>
-