bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash newgrp(1) -c option? Fwd: /usr/bin/sg in Cygwin?


From: Lawrence Velázquez
Subject: Re: bash newgrp(1) -c option? Fwd: /usr/bin/sg in Cygwin?
Date: Mon, 22 Apr 2024 02:01:08 -0400
User-agent: Cyrus-JMAP/3.11.0-alpha0-379-gabd37849b7-fm-20240408.001-gabd37849

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]