diff diff_position.sh @ 0:4182672fd6f8

Initial commit of files from the mauch-MIREX directory on octave
author Chris Cannam
date Tue, 24 Apr 2012 11:52:05 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/diff_position.sh	Tue Apr 24 11:52:05 2012 +0100
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cmp -l  <(echo "$1" ) <(echo "$2") 2> /dev/null | head -n1 | awk '{ print $1 }'
+