Skip to content

Instantly share code, notes, and snippets.

@pge
Created June 25, 2011 03:04
Show Gist options
  • Save pge/1046077 to your computer and use it in GitHub Desktop.
Save pge/1046077 to your computer and use it in GitHub Desktop.
#!/bin/bash
while read -r diff
do
echo "$diff"
done comm -12 <(sort db) <(sort dbnew))
@pge
Copy link
Author

pge commented Jun 25, 2011

!/bin/bash

while read -r diff
do
echo "$diff"
done < $(comm -12 <(sort db) <(sort dbnew)))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment