🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #83

ENV file (was Re: ksh bugs)

#83
From: Scott "The Pseudo-Hacker" Neugro...
Date: Wed, 23 Aug 1989 06:16
18 lines
1055 bytes
I also like this in my ENV file (.kshrc):


	case "$-" in
		*i*)
			#interactive shell stuff here
	esac

I can't remember though, is it "case expr in" or "case expr of".  Oh well.
This is probably slower than the tweak to not bother invoking ENV, but
is A LOT easier to explain to novices who want to use ksh.


-- 
Scott "The Pseudo-Hacker" Neugroschl
UUCP:  ...!sm.unisys.com!csun!csuna.csun.edu!abcscnge
-- Beat me, Whip me, make me code in Ada
-- Disclaimers?  We don't need no stinking disclaimers!!!
Technical Details
Message-ID: <2150@csuna.csun.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!usc!csun!csuna!abcscnge
References: <10166@fluke.COM> <10450@fluke.COM> <177@uci.UUCP> <1035@virtech.UUCP> <14571@bfmny0.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!usc!csun!csuna!abcscnge
From: abcscnge@csuna.csun.edu (Scott "The Pseudo-Hacker" Neugroschl)
Newsgroups: comp.bugs.sys5
Subject: ENV file (was Re: ksh bugs)
Keywords: ksh
Message-ID: <2150@csuna.csun.edu>
Date: 23 Aug 89 06:16:13 GMT
References: <10166@fluke.COM> <10450@fluke.COM> <177@uci.UUCP> <1035@virtech.UUCP> <14571@bfmny0.UUCP>
Reply-To: abcscnge@csuna.csun.edu (Scott Neugroschl)
Distribution: na
Organization: CSU Northridge
Lines: 18