On Tue, 2020-10-06 at 14:55 -0700, Samuel Sieb wrote:
> On 10/6/20 2:35 PM, Patrick O'Callaghan wrote:
> > For as long as I can remember, the shell builtin 'env' has been useful
> > for listing all the current environment variables.
> 
> It's not a builtin:
> # builtin env
> -bash: builtin: env: not a shell builtin

I know. I could have sworn it used to be, but it doesn't matter.

> Are you thinking of "set"?

No.

> > Not any more. There's another command called env which does something
> > different, and the builtin no longer exists.
> 
> /usr/bin/env prints the list of environment variables for me.

Yes, I see it does work. I was mislead by having some shell functions
in my environment, which made it look as if 'env' was dumping a lot of
code. It became clear when I use 'env|less'.

I put it down to galloping senility.

poc
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to