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

U+200E symbol breaks alignment with column #18

Open
097115 opened this issue Sep 25, 2021 · 0 comments
Open

U+200E symbol breaks alignment with column #18

097115 opened this issue Sep 25, 2021 · 0 comments

Comments

@097115
Copy link

097115 commented Sep 25, 2021

Steps to reproduce:

$ printf "foo | 2021\nfoo bar | 2022\n" | column -t -s '|'
foo        2021
foo bar    2022
$ printf "foo | 2021\nfoo \u200e bar | 2022\n" | column -t -s '|'
foo         2021
foo ‎ bar     2022

And since some goddamn uploaders :) sometimes accidentally put these marks in their titles, then, probably, before envoking column, it's worth a try to remove those <200e> (and may be others?) with tr or something else?

Not that it happens often, of course... :)

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

1 participant