Skip to content

Instantly share code, notes, and snippets.

@coto
Last active August 29, 2015 14:27
Show Gist options
  • Save coto/2f0410b2ea32d1e126cf to your computer and use it in GitHub Desktop.
Save coto/2f0410b2ea32d1e126cf to your computer and use it in GitHub Desktop.
# Find all the .c files in each linux directory:
find . -print | grep -e '\.c$' > ../srcfiles-0.95.txt
# Find the common lines:
comm -1 -2 srcfiles-0.95.txt srcfiles-4.1.4.txt >srcfiles-common.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment