Skip to content

Instantly share code, notes, and snippets.

@ryanspradlin
Created March 25, 2011 20:13
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 ryanspradlin/887555 to your computer and use it in GitHub Desktop.
Save ryanspradlin/887555 to your computer and use it in GitHub Desktop.
Finds lines present in file A that are missing in file B
#!/bin/sh
FILEA=$1
FILEB=$2
grep -v -x -f $FILEB $FILEA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment