bug-bash
[Top][All Lists]
Advanced

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

allexport applies to non-variables in Posix mode


From: Oğuz
Subject: allexport applies to non-variables in Posix mode
Date: Fri, 17 Oct 2025 06:14:41 +0300

On Friday, October 17, 2025, Martin D Kealey <martin@kurahaupo.gen.nz>
wrote:

> Anyway, it seems to me that exporting functions when in Posix mode could be
> construed as a bug.
>

Don't know about that, but importing functions from the environment when
bash is started in POSIX mode does seem a bit wrong; I wouldn't expect a
non-interactive POSIX shell that has just started to have any functions
defined yet.


-- 
Oğuz


reply via email to

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