Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site vax135.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!mhuxv!mhuxh!mhuxi!vax135!whb From: whb@vax135.UUCP (Wilson H. Bent) Newsgroups: net.unix Subject: newgrp in 4.2: missing? Message-ID: <1274@vax135.UUCP> Date: Fri, 31-Jan-86 13:14:47 EST Article-I.D.: vax135.1274 Posted: Fri Jan 31 13:14:47 1986 Date-Received: Sat, 1-Feb-86 06:47:33 EST Distribution: net Organization: AT&T Bell Labs, Holmdel, NJ Lines: 18 This may have been discussed before, but... (Don't you just hate these ignorant openers?) What happened to "newgrp" in 4.2BSD? I can't get either Bourne Shell or C Shell to admit anything, and it's not in the manual. Just to add to the irritation, it's mentioned (VERY briefly) in the Korn Shell manual, but I still get "ksh: newgrp not found"!!! Our use of it is to re-read .profile or .login or whatever, to re-initialize some shell/environment variables. I didn't come up with this method, nor did anyone I can point to, so don't flame me. My solution is (in this case) to just put the line ". .profile" in the appropriate place, instead of "newgrp". Is there a reason why this won't work? And why was newgrp dropped? -- Wilson H. Bent, Jr. ... ihnp4!vax135!hoh-2!whb AT&T - Bell Laboratories (201) 949-1277 Disclaimer: My company has not authorized me to issue a disclaimer.