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

Decompressing from stdin #47

Open
fibersel opened this issue Mar 17, 2020 · 2 comments
Open

Decompressing from stdin #47

fibersel opened this issue Mar 17, 2020 · 2 comments

Comments

@fibersel
Copy link

4mc is able to compress from stdin, like this:
cat filename | ./4mc
Maybe I have just not specified necessary flag, but I have not figured out, how to decompress from stdin:
cat filename | ./4mc -d returns help.
It would be very convinient and i hope we will see this feature soon.

@noodlesbad
Copy link
Collaborator

4mc is able to decompress from stdin, as follows:

  • to stdout:
    cat filename.4mc | ./4mc -d | cat
  • redirect to file:
    cat filename.4mc | ./4mc -d > filename

@fibersel
Copy link
Author

It looks non-intuitive, maybe we have to fix command line arguments parsing?

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