Merge pull request #1901 from xexyl/august85-primes-fix
This commit is contained in:
1 file changed
+1
-1
@@ -15,7 +15,7 @@ if [[ "$#" -ge 1 ]]; then
|
||||
fi
|
||||
|
||||
if [[ -n "$PRIMES" ]]; then
|
||||
while read -r n; do primes "$n" $((n + 1)); done < <((./august | head -n "$COUNT" ))
|
||||
while read -r n; do primes "$n" $((n + 1)); done < <((./august | head -n "$COUNT" |sed '/^$/d'))
|
||||
else
|
||||
echo "primes not installed" 1>&2
|
||||
echo 1>&2
|
||||
|
||||
Reference in new issue
Block a user