-
Notifications
You must be signed in to change notification settings - Fork 84
CLI list output gets shorter if captured in a shell (bash) variable or file #454
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
Comments
+1 |
The related code is here https://github.com/z411/trackma/blob/master/trackma/utils.py#L277-L296 |
@Birdulon Hey, thanks for the help. I am getting this error when I apply your patch and execute Error: |
I applied the PR everything works. Thanks. |
@Birdulon Nvm, I was able to fix it. Thanks a lot for the patch. I hope this gets merged soon. |
Uh oh!
There was an error while loading. Please reload this page.
RaitaroH/adl#9
Basically the output of
trackma list
is as wide as the terminal is. But once that output is captured to a variable or redirected to a file the output becomes way shorter and in turn cuts long anime names.Results into a table as wide as your terminal.
Doesn't look the same and it gets cut:
trackma list > list.txt cat list.txt
or
trackma list 1> list.txt cat list.txt
Entry nr 8 gets cut and becomes unusable in a script:

The text was updated successfully, but these errors were encountered: