home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / aix / 11462 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  2.0 KB

  1. 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
  2. From: konopik@konopik.austin.ibm.com (Brad Konopik)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: ksh question
  5. Message-ID: <1992Nov9.162604.22127@awdprime.austin.ibm.com>
  6. Date: 9 Nov 92 16:26:04 GMT
  7. References: <1992Oct17.164508.125@chmeds.ac.nz> <1992Nov4.071702.14484@awdprime.austin.ibm.com> <NICK.92Nov5093629@alphaville.osf.org>
  8. Sender: news@awdprime.austin.ibm.com (USENET News)
  9. Distribution: comp
  10. Organization: IBM AIX Porting Center, Austin
  11. Lines: 34
  12.  
  13. In article <NICK.92Nov5093629@alphaville.osf.org> nick@osf.org (Nick Dokos) writes:
  14. >
  15. >   Info says to use the START environment variable.  In my .profile, I have:
  16. >
  17. >     START=$HOME/.kshrc
  18. >     export START
  19. >
  20. >I did not find such a thing in info, but if it is there it is wrong.
  21. >The standard way is to define the variable ENV to point to your
  22. >per-shell initialization file - see pp. 78 and 182 of Korn & Bolsky's
  23. >book. The manual page for ksh states this explicitly too. Where in
  24. >Info did you find the START reference?
  25.  
  26. 201 Parity Check...Brain Stopped
  27.  
  28. A thousand (and twenty four) apologies !  ENV is correct...not START !!
  29. Thanks to the folks that caught my error.  That's what I get for speed
  30. reading.  My .profile has the following lines:
  31.  
  32.   START=$HOME/.kshrc
  33.   ENV='${START[(_$-=1)+(_=0)-(_$-!=_${-%%*i*})]}'
  34.   export START ENV
  35.  
  36. I have no idea what all the gorp on the ENV line means, but it uses the 
  37. $START I set up in the preceding line.
  38.  
  39. I was posting from home and was too lazy to fire up ascii-Info to struggle
  40. through what is left of the ksh documentation.  Gimme back my man pages.
  41.  
  42. -- 
  43.   tcpnet: konopik@konopik.austin.ibm.com  |  Brad Konopik
  44.  ibmvnet: KONOPIK at AUSTIN               |  IBM AIX Porting Center, Austin
  45. internet: konopik.austin.ibm.com!konopik@ibmpa.awdpa.ibm.com
  46.    uunet: ..!uunet!ibmsupt!ibmpa!konopik.austin.ibm.com!konopik
  47.