[Bug 46441] sh(1): Does not support PS1, PS2, PS4 parameter expansion
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 29 May 2022 10:03:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=46441 --- 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 avoided by not allowing command substitutions my idea was to allow recursion bounded to the stack depth of 2 or perhaps some other low number that would allow simple PS4='`date`' or similar, but not anything more fancy. -- You are receiving this mail because: You are on the CC list for the bug.