Skip to content

Commit

Permalink
Remove empty lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
willwhite committed Jul 3, 2020
1 parent 81ca90f commit dd41959
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion data/free.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

1033edge.com
11mail.com
123.com
Expand Down
2 changes: 2 additions & 0 deletions update
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ curl --silent https://raw.githubusercontent.com/ivolo/disposable-email-domains/m

tmp=$(mktemp -t freemailXXX)
cat $new ./data/disposable.txt \
| sed '/^$/d' \
| sed '/./,$!d' \
| sed -e 's/^ *//' -e 's/ *$//' \
| awk '{print tolower($0)}' \
Expand All @@ -34,6 +35,7 @@ done;

tmp=$(mktemp -t freemailXXX)
cat $new ./data/free.txt \
| sed '/^$/d' \
| sed '/./,$!d' \
| sed -e 's/^ *//' -e 's/ *$//' \
| awk '{print tolower($0)}' \
Expand Down

0 comments on commit dd41959

Please sign in to comment.