Use gunzip instead of zcat

alpine's zcat supports only gzip/bzip2/xz not zip
This commit is contained in:
curben 2018-10-11 11:41:34 +10:30
parent 34dc3d40a3
commit fe3e3750a2
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
wget https://s3-us-west-1.amazonaws.com/umbrella-static/top-1m.csv.zip -O top-1m.csv.zip
# Decompress the zip and write output to stdout
zcat -dc top-1m.csv.zip | \
gunzip -dc top-1m.csv.zip | \
# Parse domains only
cut -f 2 -d ',' > ../src/top-1m.txt