Remove filename from wc

Line 118 and Line 127 changed wc to remove filename from output.
This commit is contained in:
Dan Schaper 2015-11-06 10:24:12 -08:00
parent 642c31c361
commit 15b9fb68d7
1 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ fi
###########################
function gravity_advanced() {
numberOf=$(wc -l $origin/$andLight)
numberOf=$(wc -l < $origin/$andLight)
echo "** $numberOf domains being pulled in by gravity..."
# Remove carriage returns and preceding whitespace
@ -124,7 +124,7 @@ function gravity_advanced() {
# Sort and remove duplicates
sort -u $origin/$supernova > $origin/$eventHorizon
numberOf=$(wc -l $origin/$eventHorizon)
numberOf=$(wc -l < $origin/$eventHorizon)
echo "** $numberOf unique domains trapped in the event horizon."
# Format domain list as "192.168.x.x domain.com"