Skip to content

Instantly share code, notes, and snippets.

@farnoy
Created February 2, 2012 00:50
Show Gist options
  • Save farnoy/1720506 to your computer and use it in GitHub Desktop.
Save farnoy/1720506 to your computer and use it in GitHub Desktop.
cat sat_words | \
sed -e 's:^\(\w*\) .*:"\1":' \
-e 's:^\(\w*-\w*\) .*:"\1":' \
-e 's:^\(\w*-\w*-\w*\) .*:"\1":' \
-e 's:^\(\w*-\w*-\w*-\w*\) .*:"\1":' \
| sed -e ':a;N;$!ba;s:\n:,:g' \
-e 's:^:-[:' \
-e 's:-[:]:'
# changes
#abase v. To lower in position, estimation, or the like; degrade. ← Many vocabulary words, such as degrade, #are repeated in definitions for double learning.
#abbess n. The lady superior of a nunnery.
#abbey n. The group of buildings which collectively form the dwelling-place of a society of monks or nuns.
#abbot n. The superior of a community of monks.
#abdicate v. To give up (royal power or the like).
#abdomen n. In mammals, the visceral cavity between the diaphragm and the pelvic floor; the belly.
#abdominal n. Of, pertaining to, or situated on the abdomen.
#abduction n. A carrying away of a person against his will, or illegally.
#abed adv. In bed; on a bed.
#aberration n. Deviation from a right, customary, or prescribed course.
#into
#["abase","abbess","abbey","abbot","abdicate","abdomen","abdominal","abduction","abed","aberration",...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment