Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Apr 1, 2024
1 parent 23e861a commit 21bd876
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion functions/check_dead.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ check_dead() {
log_event "$(<dead_in_raw.tmp)" dead raw
}

# Function 'check_alive' finds resurrected domains from the dead domains file
# Function 'check_alive' finds resurrected domains in the dead domains file
# and adds them back into the raw file.
check_alive() {
find_dead "$DEAD_DOMAINS" || return
Expand Down
7 changes: 5 additions & 2 deletions functions/check_parked.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# This script checks for parked/unparked domains and
# removes/adds them accordingly.
# This script checks for parked/unparked domains and removes/adds
# them accordingly.

readonly RAW='data/raw.txt'
readonly RAW_LIGHT='data/raw_light.txt'
Expand All @@ -26,6 +26,7 @@ main() {
format_file "$PARKED_DOMAINS"
}

# Function 'removed_parked_domains' removes parked domains from the raw file.
remove_parked_domains() {
retrieve_parked "$RAW" || return

Expand All @@ -35,6 +36,8 @@ remove_parked_domains() {
log_event "$(<parked_domains.tmp)" parked raw
}

# Function 'add_unparked_domains' finds unparked domains in the parked domains
# file and adds them back into the raw file.
add_unparked_domains() {
retrieve_parked "$PARKED_DOMAINS" || return

Expand Down

0 comments on commit 21bd876

Please sign in to comment.