Merge pull request #1901 from xexyl/august85-primes-fix

This commit is contained in:
Landon Curt Noll authored and GitHub committed 2024-01-15 07:56:33 -08:00
commit 7bd9a5731b
1 file changed
+1 -1
+1 -1
View File
@@ -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