refactor: remove '-e' parameter of sed
not necessary if there is only one script https://unix.stackexchange.com/a/33159
This commit is contained in:
parent
f2b62fd1ee
commit
ea6c3f6796
|
@ -14,7 +14,7 @@ cut -f 1 -d ':' | \
|
|||
# Remove www
|
||||
# Only matches domains that start with www
|
||||
# Not examplewww.com
|
||||
sed -e 's/^www\.//g' | \
|
||||
sed 's/^www\.//g' | \
|
||||
# Sort and remove duplicates
|
||||
sort -u | \
|
||||
# Exclude Umbrella Top 1M and well-known domains
|
||||
|
|
|
@ -14,7 +14,7 @@ cut -f 1- -d ':' | \
|
|||
# Remove www
|
||||
# Only matches domains that start with www
|
||||
# Not examplewww.com
|
||||
sed -e 's/^www\.//g' | \
|
||||
sed 's/^www\.//g' | \
|
||||
# Sort and remove duplicates
|
||||
sort -u | \
|
||||
# Parse URLs from popular domains only
|
||||
|
|
|
@ -15,7 +15,7 @@ grep -F '.' | \
|
|||
# Remove www
|
||||
# Only matches domains that start with www
|
||||
# Not examplewww.com
|
||||
sed -e 's/^www\.//g' | \
|
||||
sed 's/^www\.//g' | \
|
||||
# Remove duplicates
|
||||
sort -u > top-1m.txt
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ cut -f 1 -d ':' | \
|
|||
# Remove www
|
||||
# Only matches domains that start with www
|
||||
# Not examplewww.com
|
||||
sed -e 's/^www\.//g' | \
|
||||
sed 's/^www\.//g' | \
|
||||
# Sort and remove duplicates
|
||||
sort -u | \
|
||||
# Exclude Umbrella Top 1M and well-known domains
|
||||
|
|
Loading…
Reference in New Issue