squelette

find exceptional genders for a noun ending
git clone https://a3nm.net/git/squelette/
Log | Files | Refs

commit 877ecb6db62027140912a4be4aa781b960151262
parent c986a44aee22a61d27cc41bffeb5b596085481da
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sat,  5 Sep 2015 19:34:00 +0200

all solutions

Diffstat:
mkenigme.sh | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mkenigme.sh b/mkenigme.sh @@ -6,7 +6,8 @@ while read l do if [ "$PREV" != zzz ] then - ANS=$(grep "$PREV\s[fm]" noms_all | grep "\s$PREVGO\s" | sort -k3,3rn | head -3 | cut -f 1 | tr '\n' ' ' | sed 's/^ *//;s/ *$//') + ANS=$(grep "$PREV\s[fm]" noms_all | grep "\s$PREVGO\s" | sort -k3,3rn | + cut -f 1 | tr '\n' ' ' | sed 's/^ *//;s/ *$//') echo "Réponse(s) possible(s) pour un mot $PREVGG en -$PREV: $ANS !" else echo "Bonjour à tous ! Jouons ensemble à un jeu divertissant. :)"