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

not working in ubuntu linux :( #1

Closed
hornc opened this issue Oct 8, 2018 · 1 comment
Closed

not working in ubuntu linux :( #1

hornc opened this issue Oct 8, 2018 · 1 comment

Comments

@hornc
Copy link
Owner

hornc commented Oct 8, 2018

Works under OSX where

fold -w1 <<<"⎔⎔⎔⎔"
⎔
⎔
⎔
⎔

Ubuntu fold seems to break the characters up differently and adds whitespace and breaks the ⎔ in its output.

Need to add a compatibility + tested in section or page. This will be a good way to discover differences in how different tools (GNU vs BSD vs other) and OSs handle unicode.

@hornc
Copy link
Owner Author

hornc commented Oct 8, 2018

https://lists.gnu.org/archive/html/bug-coreutils/2008-08/msg00194.html
probably shouldn't rely on fold

@hornc hornc closed this as completed in 2dc211d Oct 9, 2018
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