execline: getpid doesn't actually recognize -P and -p

From: Guillermo <gdiazhartusch_at_gmail.com>
Date: Wed, 18 May 2022 15:37:41 -0300

Hello. What the subject says:

$ getpid -E pid echo \$pid
1543

$ getpid -PE pid echo \$pid
getpid: usage: getpid [ -E | -e ] [ -P | -p ] variable prog...

I guess that because they are not mentioned in the call to subgetopt_r():

* https://git.skarnet.org/cgi-bin/cgit.cgi/execline/tree/src/execline/getpid.c?h=v2.8.3.0#n25

G.
Received on Wed May 18 2022 - 20:37:41 CEST

This archive was generated by hypermail 2.4.0 : Wed May 18 2022 - 20:38:22 CEST