commit a0d9c34e6f0791304345d22ccf86e9377b8c5b31 parent 8d14cd7f0a2db37f8b21d3f9500a85c32a30fc67 Author: Antoine Amarilli <a3nm@a3nm.net> Date: Sun, 25 Jan 2015 18:24:50 +0100 additions_occurrences Diffstat:
additions_occurrences | | | 1 | + |
lexique_occurrences_retrieve.sh | | | 4 | +++- |
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/additions_occurrences b/additions_occurrences @@ -0,0 +1 @@ +chose diff --git a/lexique_occurrences_retrieve.sh b/lexique_occurrences_retrieve.sh @@ -9,6 +9,8 @@ cd "$( dirname "$0" )" wget $URL unzip -qq $ZIP $FILE cat $FILE | ./lexique_fix.sh | cut -f1 | - rev | cut -d' ' -f1 | rev | sort | uniq -c | + rev | cut -d' ' -f1 | rev | + cat - additions_occurrences | + sort | uniq -c | awk '{print $2, $1}'