-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Handle compressed files #642
Labels
duplicate
This issue or pull request already exists
Comments
Please see #237 If you think there is a nice way to build a wrapper script that supports that, I'm happy to add it to the repository. |
anarcat
added a commit
to anarcat/bat
that referenced
this issue
Jan 14, 2025
This relies on bsdcat from archive-tools, which supports more formats than just gzip or, failing that, falls back to gunzip -c with a warning. Previously[1], @sharkdp stated that bat would not support compressed files, but would be open in implementing a wrapper. There was another implementation proposed elsewhere[2], but it seems overengineered to me. [1] sharkdp#642 (comment) [2] sharkdp#237 (comment)
i did #3177 |
anarcat
added a commit
to anarcat/bat
that referenced
this issue
Jan 14, 2025
This relies on bsdcat from archive-tools, which supports more formats than just gzip or, failing that, falls back to gunzip -c with a warning. Previously[1], @sharkdp stated that bat would not support compressed files, but would be open in implementing a wrapper. There was another implementation proposed elsewhere[2], but it seems overengineered to me. [1] sharkdp#642 (comment) [2] sharkdp#237 (comment)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This could be done by integrating with lesspipe / LESSOPEN at first.
The text was updated successfully, but these errors were encountered: