On 4/22/24 1:41 AM, Cedric Blancher wrote:
Chet,

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?

Bash doesn't have a newgrp builtin.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to