#! /bin/csh -f # Last edited on 2000-05-26 15:40:53 by stolfi set usage = "$0 file1.frq file2.frq ... > join.cmp" # Merges two or more files produced by compute-freqs # WARNING: assumes the word field ($3) does not contain blanks. if ( $#argv == 0 ) then echo "usage: ${usage}"; exit 1 endif set path = ( ${STOLFIHOME}/voynich/work $path ) join-freqs $* \ | max-freqs \ | sort +0.0 -0.2r +0.0 -0.7nr \ | sed -e 's/^\(..\).......\(.*\)$/\1\2/g'