fix: remove port number

This commit is contained in:
curben 2019-05-28 10:24:04 +09:30
parent c8977f252e
commit 0989ab3c91
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@ dos2unix | \
sed '/^#/ d' | \
# Remove http(s)://
cut -f 3 -d '/' | \
# Remove port number
cut -f 1 -d ':' | \
# Remove www
# Only matches domains that start with www
# Not examplewww.com