Skip to content

Instantly share code, notes, and snippets.

@mrvaldes
Created February 25, 2014 01:48
Show Gist options
  • Save mrvaldes/9201078 to your computer and use it in GitHub Desktop.
Save mrvaldes/9201078 to your computer and use it in GitHub Desktop.
parse files with prime numbers from http://primes.utm.edu/lists/small/millions/
for n in $(tail -n +3 primes1.txt); do [ ! -z "${n##*[!0-9]*}" ] && echo $n; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment