home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- 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
- From: d-lewart@uiuc.edu (Daniel S. Lewart)
- Subject: Re: KSH: how to stop $ENV
- References: <1992Sep11.132901.26395@bnr.ca>
- Message-ID: <BuFI9n.BG3@news.cso.uiuc.edu>
- Originator: lewart@rsm1.physics.uiuc.edu
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Reply-To: d-lewart@uiuc.edu (Daniel S. Lewart)
- Organization: UIUC Physics Department
- Date: Fri, 11 Sep 1992 19:32:10 GMT
- Lines: 12
-
- In article <1992Sep11.132901.26395@bnr.ca> space%bnr.ca (Scott Pace) writes:
-
- > I have a shell script written in ksh (i.e. has #! /bin/ksh at the start).
- > How do I prevent the ksh from executing $ENV? This is on HP-UX 7.05. I
- > have read the man page, and I don't see any switches that would do this.
- > What I really want is the equivalent of the -f switch in the csh.
-
- Try starting with the following:
- #! /bin/ksh -p
-
- Daniel Lewart
- d-lewart@uiuc.edu
-