Skip to content

Instantly share code, notes, and snippets.

@butackle
Created October 18, 2017 12:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save butackle/38d5eff18ca06c216a585b6f63e3731a to your computer and use it in GitHub Desktop.
Save butackle/38d5eff18ca06c216a585b6f63e3731a to your computer and use it in GitHub Desktop.
require('fs').readFile('./bio-shell/data/linda.txt',(e,t)=>console.log(`${t}`.split('\r\n').map((v) => (!v ||/^#/.test(v)) ? "" : v.split(",")[v.split(",").length - 2]).filter((v)=>!!v).join('\n')));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment