Skip to content

Instantly share code, notes, and snippets.

@cjwinchester
Created March 27, 2018 22:50
Show Gist options
  • Save cjwinchester/547a44cdb46fd417604c6be318539a93 to your computer and use it in GitHub Desktop.
Save cjwinchester/547a44cdb46fd417604c6be318539a93 to your computer and use it in GitHub Desktop.
Get a sorted list of surnames that occur more than 100 times in the 2010 Census that end in "-son".
curl -O https://www2.census.gov/topics/genealogy/2010surnames/names.zip; unzip names.zip; awk -F "," '{print $1}' < Names_2010Census.csv | grep -i 'son$' | sort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment