[Bug 46441] sh(1): Does not support PS1, PS2, PS4 parameter expansion

2024-10-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=46441 Mark Linimon changed: What|Removed |Added Flags|mfc-stable13? | --- Comment #17 from Mark Linimon

[Bug 46441] sh(1): Does not support PS1, PS2, PS4 parameter expansion

2024-10-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=46441 Mark Linimon changed: What|Removed |Added Flags|mfc-stable12? | --- Comment #16 from Mark Linimon

[Bug 46441] sh(1): Does not support PS1, PS2, PS4 parameter expansion

2022-05-30 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=46441 --- Comment #15 from Jilles Tjoelker --- (In reply to Piotr Pawel Stefaniak from comment #13) If you're creating a parser state struct, it may be better to pass a pointer to it to most functions in parser.c. The struct would be allocated on

[Bug 46441] sh(1): Does not support PS1, PS2, PS4 parameter expansion

2022-05-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=46441 --- Comment #14 from Piotr Pawel Stefaniak --- 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

[Bug 46441] sh(1): Does not support PS1, PS2, PS4 parameter expansion

2022-05-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=46441 Piotr Pawel Stefaniak changed: What|Removed |Added CC||ps...@freebsd.org --- Comme

[Bug 46441] sh(1): Does not support PS1, PS2, PS4 parameter expansion

2022-02-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=46441 --- Comment #12 from Jilles Tjoelker --- For PS4, I implemented this in 2011. The problem with unbounded recursion from command substitutions is avoided by not allowing command substitutions; this error (like other parse and expansion errors

[Bug 46441] sh(1): Does not support PS1, PS2, PS4 parameter expansion

2022-02-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=46441 --- Comment #11 from Nathaniel Barragan --- I took a look at the code super fast (not planning on any changes yet), and it seems that command substitution was not added on $PS1/PS2 because the parser relies on PS1 and PS2 not doing command s

[Bug 46441] sh(1): Does not support PS1, PS2, PS4 parameter expansion

2022-02-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=46441 Nathaniel Barragan changed: What|Removed |Added CC||contact@nathanielbarragan.x

[Bug 46441] sh(1): Does not support PS1, PS2, PS4 parameter expansion

2022-02-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=46441 Kubilay Kocak changed: What|Removed |Added Component|standards |bin Keywords|