aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/var/generate-top-words-list.sh
blob: 2a87e1472a4ac1d99cfa3e2f330188084c4acd10 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

if test $# != 2 ; then
    echo No input files given 1>&2
    exit 1
fi

awk 'BEGIN{FS = " "} { if ($1 ~ /^[A-Za-z]/) {print $1}}' $1 | sort | tr '\n' ';'  > $2
bgstack15