Use unzip

alpine's gunzip/gzip/zcat doesn't support zip
This commit is contained in:
curben 2018-10-11 12:19:15 +10:30
parent 38c0fa90e1
commit 64de7976cc
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
gunzip -dc top-1m.csv.zip | \
unzip -p top-1m.csv.zip | \
# Parse domains only
cut -f 2 -d ',' > ../src/top-1m.txt