hummingbird-me / kitsu-tools

:hammer: The tools we use to build Kitsu, the coolest platform for anime and manga
https://kitsu.io
Apache License 2.0
2.09k stars 265 forks source link

Change zcat to gunzip -c #794

Closed Epictek closed 7 years ago

Epictek commented 7 years ago

More systems seem to have gunzip -c and it functions the same as zcat.

cc @hummingbird-me/owners

NuckChorris commented 7 years ago

Seems like a good change, but I'll just wanna check that it's around on my laptop. Ideally I think we'd break down any aliases, which iirc gunzip and zcat often are

Epictek commented 7 years ago

Yeah the gzip/zcat man page is useful https://www.esrl.noaa.gov/gmd/dv/hats/cats/stations/qnxman/gzip.html

NuckChorris commented 7 years ago

So then we could do gzip -cd? :thinking_face:

Epictek commented 7 years ago

That would work 👍

omarlopesino commented 7 years ago

I had the same problem. By the moment I added some lines in https://github.com/hummingbird-me/hummingbird/wiki/Setting-up-a-development-environment#docker-recommended step 4 if someone have the same problem.

omarlopesino commented 7 years ago

It's a nice iidea use gunzip -c as @Epictek says, but is sure that command is available in every unix systems?

NuckChorris commented 7 years ago

Yeah I think gzip -cd is a better option, because gzip has like zero chance of being gone. @Epictek wanna make that change to this PR?

NuckChorris commented 7 years ago

Lovely, thanks!