Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 May 2022 10:03:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 46441] sh(1): Does not support PS1, PS2, PS4 parameter expansion
Message-ID:  <bug-46441-227-cSTjWPFVxV@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-46441-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-46441-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D46441

--- Comment #14 from Piotr Pawel Stefaniak <pstef@freebsd.org> ---
To expand a bit on what I was thinking, in the context of PS4 and

> The problem with unbounded recursion from command substitutions is avoide=
d by not allowing command substitutions

my idea was to allow recursion bounded to the stack depth of 2 or perhaps s=
ome
other low number that would allow simple PS4=3D'`date`' or similar, but not
anything more fancy.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-46441-227-cSTjWPFVxV>