Created
October 18, 2017 12:52
-
-
Save butackle/38d5eff18ca06c216a585b6f63e3731a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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