Use included zcat
This commit is contained in:
parent
e9b7a7edeb
commit
f74cba26b7
|
@ -2,7 +2,7 @@ image: alpine:latest # Use latest version of Alpine Linux docker image
|
|||
|
||||
before_script:
|
||||
# Install dependencies
|
||||
- 'which ssh-agent || ( apk update && apk add openssh-client git wget unzip)'
|
||||
- 'which ssh-agent || ( apk update && apk add openssh-client git wget)'
|
||||
|
||||
# Run ssh-agent
|
||||
- eval $(ssh-agent -s)
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
# Download the list
|
||||
wget -O- http://s3-us-west-1.amazonaws.com/umbrella-static/top-1m.csv.zip | \
|
||||
# Unzip
|
||||
funzip | \
|
||||
# Decompress the zip and write output to stdout
|
||||
zcat -dc | \
|
||||
# Parse domains only
|
||||
cut -f 2 -d ',' > ../src/top-1m.txt
|
||||
|
|
Loading…
Reference in New Issue