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

python - cat - Implement --show-nonprinting option #14

Open
ennc0d3 opened this issue Feb 17, 2024 · 0 comments
Open

python - cat - Implement --show-nonprinting option #14

ennc0d3 opened this issue Feb 17, 2024 · 0 comments

Comments

@ennc0d3
Copy link
Owner

ennc0d3 commented Feb 17, 2024

This is requires bit of understanding on how the current cat treats the characters that are outside the ascii range, also the manual mentions that it treats the characters with the high bit set as M-, this needs a bit of analysis.

See the following link: https://docstore.mik.ua/orelly/unix/upt/ch25_07.htm#:~:text=Instead%2C%20try%20cat%20%2Dv%20.,non%2Dprintable%20files%20is%20od%20.

ennc0d3 added a commit that referenced this issue Feb 19, 2024
py: Implement cat

The basic options are implemented and tested for parity, but it is not comparable to cat, this is one very slow and  is done in few hours.

The following option -v (--show-nonprinting) characters is a beast, which is not implemented, can come back to it when there is time( an issue is created #14 to followup)
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