home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / shell / 3914 < prev    next >
Encoding:
Text File  |  1992-09-11  |  1014 b   |  26 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!rsm1.physics.uiuc.edu!lewart
  3. From: d-lewart@uiuc.edu (Daniel S. Lewart)
  4. Subject: Re: KSH: how to stop $ENV
  5. References: <1992Sep11.132901.26395@bnr.ca>
  6. Message-ID: <BuFI9n.BG3@news.cso.uiuc.edu>
  7. Originator: lewart@rsm1.physics.uiuc.edu
  8. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  9. Reply-To: d-lewart@uiuc.edu (Daniel S. Lewart)
  10. Organization: UIUC Physics Department
  11. Date: Fri, 11 Sep 1992 19:32:10 GMT
  12. Lines: 12
  13.  
  14. In article <1992Sep11.132901.26395@bnr.ca> space%bnr.ca (Scott Pace) writes:
  15.  
  16. > I have a shell script written in ksh (i.e. has #! /bin/ksh at the start).
  17. > How do I prevent the ksh from executing $ENV?  This is on HP-UX 7.05.  I
  18. > have read the man page, and I don't see any switches that would do this.
  19. > What I really want is the equivalent of the -f switch in the csh.
  20.  
  21. Try starting with the following:
  22.     #! /bin/ksh -p
  23.  
  24. Daniel Lewart
  25. d-lewart@uiuc.edu
  26.