Skip to content

Instantly share code, notes, and snippets.

@danielecook
Last active March 29, 2019 13:34
Show Gist options
  • Save danielecook/8cc1390d5d8276392837bc4897dfd71c to your computer and use it in GitHub Desktop.
Save danielecook/8cc1390d5d8276392837bc4897dfd71c to your computer and use it in GitHub Desktop.
Extract modules from scripts #camp
ag -w -o '[A-Za-z0-9\-\_\.]+\/[0-9]+[A-Za-z0-9\-\_\.]+' *.R | sort | uniq | tr ':' '\t' > software.txt
cat software.txt | cut -f 3 | sort | uniq > software.uniq.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment