Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xtrace does not print PS4 #468

Open
vt-alt opened this issue Nov 20, 2023 · 1 comment
Open

xtrace does not print PS4 #468

vt-alt opened this issue Nov 20, 2023 · 1 comment

Comments

@vt-alt
Copy link

vt-alt commented Nov 20, 2023

toybox 0.8.10. set -x does not print PS4 prompt:

~$ toybox --version
toybox 0.8.10
~$ toybox sh
$ echo $PS4
+
$ set -x
$ date; date; date
 date
Mon Nov 20 04:23:50 UTC 2023
 date
Mon Nov 20 04:23:50 UTC 2023
 date
Mon Nov 20 04:23:50 UTC 2023
$
vt-alt added a commit to vt-alt/vm-run that referenced this issue Nov 21, 2023
Toybox does not support `set -e` but it supports (buggy[1]) `set -x`,
alas it stops processing options on the first unsupported one, so make
`-x` first.

Does does not make toybox work though, because of another bug[2] in eval.

Link: landley/toybox#468
Link: landley/toybox#467
Signed-off-by: Vitaly Chikunov <[email protected]>
@landley
Copy link
Owner

landley commented Nov 23, 2023

Sorry for the delay answering, I've got a bunch of todo items for the toybox shell and the design one I'm working on at the moment is a design issue with backslash line continuation. I've added this to the list, but at the moment I'm trying to go through and fix existing test suite failures in order. Happy to take more shell bug reports, and I am working through them, but... there's a list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants