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

minimum file padding causes issues with piping to other programs #5

Closed
digitalsushi opened this issue Feb 12, 2014 · 1 comment
Closed

Comments

@digitalsushi
Copy link

On https://github.com/jdberry/tag/blob/master/Tag/Tag.m#L385 there is some padding that gets put into the file output. This causes the filename to be invalid.

$ touch test1 test2
$ tag -a demo *
$ tag -m demo *
test1                          
test2                          
$ tag -0 -m demo * |xargs -0 ls -l
ls: test1                          : No such file or directory
ls: test2                          : No such file or directory

If I remove the padding and recompile, the program works as I expect it to. I am not a developer, and this is my first submission so please be kind if my report is bogus or my description poor. Regards!

@jdberry
Copy link
Owner

jdberry commented Feb 12, 2014

@digitalsushi Fixed, I think. Thanks for the report.

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