[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: why does </proc/self/environ not work in bash?
From: |
Christoph Anton Mitterer |
Subject: |
Re: why does </proc/self/environ not work in bash? |
Date: |
Mon, 12 Feb 2024 01:55:20 +0100 |
User-agent: |
Evolution 3.50.3-1 |
On Mon, 2024-02-12 at 01:11 +0100, Christoph Anton Mitterer wrote:
> env -i 'VAR=valid-shell-variable-name' '+=invalid-shell-variable-
> name' /proc/self/exe -c "set -e; cd /; cd /; env"
This needs obviously be "/proc/$$/exe"... otherwise it would be env
itself.
Sorry for copy&pasting mess ^^
Cheers,
Chris.
Re: why does </proc/self/environ not work in bash?, Lawrence Velázquez, 2024/02/11
Re: why does </proc/self/environ not work in bash?, Kerin Millar, 2024/02/11
Re: why does </proc/self/environ not work in bash?, Christoph Anton Mitterer, 2024/02/11
Re: why does </proc/self/environ not work in bash?,
Christoph Anton Mitterer <=
Re: why does </proc/self/environ not work in bash?, Chet Ramey, 2024/02/12
Re: why does </proc/self/environ not work in bash?, Christoph Anton Mitterer, 2024/02/12
Re: why does </proc/self/environ not work in bash?, Lawrence Velázquez, 2024/02/12
Re: why does </proc/self/environ not work in bash?, Chet Ramey, 2024/02/13
Re: why does </proc/self/environ not work in bash?, Chet Ramey, 2024/02/13
Re: why does </proc/self/environ not work in bash?, Kerin Millar, 2024/02/11
Re: why does </proc/self/environ not work in bash?, Christoph Anton Mitterer, 2024/02/11
Re: why does </proc/self/environ not work in bash?, Greg Wooledge, 2024/02/11