On Mon, Apr 22, 2024, at 1:41 AM, Cedric Blancher wrote: > The Solaris ksh93-integration version of ksh93 has a newgrp -c option > (David Korn, Glenn Fowler and Roland Mainz did implement it), which > works like ksh93/bash -c, and executes script under the requested > group, and upon exiting resumes the old shell with the old group. > > Could you please implement this (newgrp -c 'command') in the bash > newgrp builtin too?
I don't think bash has a "newgrp" builtin. -- vq