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

Add option to just preprocess file and print output #83

Open
dedmen opened this issue Sep 20, 2018 · 0 comments
Open

Add option to just preprocess file and print output #83

dedmen opened this issue Sep 20, 2018 · 0 comments

Comments

@dedmen
Copy link
Contributor

dedmen commented Sep 20, 2018

I tried to add a --verbose parameter to binarize but because the preprocessor can only print to a file handle I'd have to duplicate every output to also print to stdout.
Or read the file in again and print that which is a bit too cumbersome.

And to make a preprocess option I'd have to print to a temp file and read it instead instead of being able to do it in memory.
Implementing it like that feels too crusty to me so I rather let that be done by people who know this C stuff.

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