home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!usenet.coe.montana.edu!saimiri.primate.wisc.edu!caen!uwm.edu!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime.austin.ibm.com!konopik.austin.ibm.com!konopik
- From: konopik@konopik.austin.ibm.com (Brad Konopik)
- Newsgroups: comp.unix.aix
- Subject: Re: ksh question
- Message-ID: <1992Nov9.162604.22127@awdprime.austin.ibm.com>
- Date: 9 Nov 92 16:26:04 GMT
- References: <1992Oct17.164508.125@chmeds.ac.nz> <1992Nov4.071702.14484@awdprime.austin.ibm.com> <NICK.92Nov5093629@alphaville.osf.org>
- Sender: news@awdprime.austin.ibm.com (USENET News)
- Distribution: comp
- Organization: IBM AIX Porting Center, Austin
- Lines: 34
-
- In article <NICK.92Nov5093629@alphaville.osf.org> nick@osf.org (Nick Dokos) writes:
- >
- > Info says to use the START environment variable. In my .profile, I have:
- >
- > START=$HOME/.kshrc
- > export START
- >
- >I did not find such a thing in info, but if it is there it is wrong.
- >The standard way is to define the variable ENV to point to your
- >per-shell initialization file - see pp. 78 and 182 of Korn & Bolsky's
- >book. The manual page for ksh states this explicitly too. Where in
- >Info did you find the START reference?
-
- 201 Parity Check...Brain Stopped
-
- A thousand (and twenty four) apologies ! ENV is correct...not START !!
- Thanks to the folks that caught my error. That's what I get for speed
- reading. My .profile has the following lines:
-
- START=$HOME/.kshrc
- ENV='${START[(_$-=1)+(_=0)-(_$-!=_${-%%*i*})]}'
- export START ENV
-
- I have no idea what all the gorp on the ENV line means, but it uses the
- $START I set up in the preceding line.
-
- I was posting from home and was too lazy to fire up ascii-Info to struggle
- through what is left of the ksh documentation. Gimme back my man pages.
-
- --
- tcpnet: konopik@konopik.austin.ibm.com | Brad Konopik
- ibmvnet: KONOPIK at AUSTIN | IBM AIX Porting Center, Austin
- internet: konopik.austin.ibm.com!konopik@ibmpa.awdpa.ibm.com
- uunet: ..!uunet!ibmsupt!ibmpa!konopik.austin.ibm.com!konopik
-