plint

French poetry validator (local mirror of https://gitlab.com/a3nm/plint)
git clone https://a3nm.net/git/plint/
Log | Files | Refs | README

commit f635fbce9148d0258bb3195dcfb81f3a7e4637e3
parent 55d22c3c5fec9a67bb83538bc4ba5bfd24db300e
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sat, 29 Sep 2012 18:45:46 +0200

add missing file

Diffstat:
lexique_fix.sh | 8++++++++
lexique_occurrences_retrieve.sh | 2+-
2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/lexique_fix.sh b/lexique_fix.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +# General fixes for lexique + +cd "$( dirname "$0" )" + +iconv -f latin1 -t utf8 | sed 1d | ./subst.pl + diff --git a/lexique_occurrences_retrieve.sh b/lexique_occurrences_retrieve.sh @@ -8,7 +8,7 @@ cd "$( dirname "$0" )" wget $URL unzip -qq $ZIP $FILE -cat $FILE | ./frhyme/lexique/lexique_fix.sh | cut -f1 | +cat $FILE | ./lexique_fix.sh | cut -f1 | rev | cut -d' ' -f1 | rev | sort | uniq -c | awk '{print $2, $1}'