help-bash
[Top][All Lists]
Advanced

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

Re: getconf _CS_PATH failure


From: Greg Wooledge
Subject: Re: getconf _CS_PATH failure
Date: Mon, 18 Jan 2021 16:06:56 -0500
User-agent: Mutt/1.10.1 (2018-07-13)

On Mon, Jan 18, 2021 at 03:59:41PM -0500, Jeffrey Walton wrote:
> Forgive my ignorance... According to
> https://protect-us.mimecast.com/s/h5mFCo2KwWUrmWk2gH1v9Db?domain=pubs.opengroup.org
> this is supposed to work:
> 
>     $ command -p getconf _CS_PATH

You've linked to an obsolete version of the POSIX standard.  The current
version has a different example here.

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html#tag_20_22_16

  command -p getconf PATH

Also note that _CS_ was probably a typo.  sysconf(3) lists symbols
beginning with _SC_ which stands for sys conf.



reply via email to

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