Created
February 3, 2020 16:46
-
-
Save h1ros/6c519853f9ee07656db895ff9abca2f0 to your computer and use it in GitHub Desktop.
zcat for 7zip
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# copy this file into /bin/zcat to a file called /bin/7zcat | |
PATH=${GZIP_BINDIR-'/bin'}:$PATH | |
exec 7z e -so -bd "$@" 2>/dev/null | cat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment