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

cite an official dirtree specification #7

Open
DryHumorInDC opened this issue Feb 5, 2024 · 1 comment
Open

cite an official dirtree specification #7

DryHumorInDC opened this issue Feb 5, 2024 · 1 comment

Comments

@DryHumorInDC
Copy link

DryHumorInDC commented Feb 5, 2024

There have been a few instances when pasting the output of the tree command that I get an error. I apologize that I can't repeat this at the moment, but I know it will come up again. The error complained about mixing dirtree output with the symbolic (e.g. #) output. The output of the tree command differs based on the environment, namely the value of $LANG. When LANG=en_US.UTF-8, for example, I get a whole bunch of non-printable characters. The output of this usually works, but sometimes not. To simplify the output, I can set LANG=C, but that does not appear to be a supported output either, since the icons appear at col=0.

Of course, switching to the symbolic output always works, and it's really great!

@lask79
Copy link
Owner

lask79 commented Feb 5, 2024

Thanks for bringing this up. I only tested with normal tree output.

Good to know that there might be cases where this might not work.

If you could provide some sample trees where the output is wrong would be great.

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