diff --git a/.gitignore b/.gitignore index dcff96a..b529226 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ * !*.hs !*.sh +!*.java +!pom.xml \ No newline at end of file diff --git a/motinutiles.txt b/motinutiles.txt new file mode 100644 index 0000000..aa7cb24 --- /dev/null +++ b/motinutiles.txt @@ -0,0 +1,41 @@ +H +by +and +for +from +is +into +not +of +on +the +to +up +use +when +with +write +writes +we +that +exit +end +enum +else +if +early +dump +due +drop +don't +down +de +can +can: +case +be +at +as +an +a + diff --git a/phase0.sh b/phase0.sh index 22edf09..e49a11c 100755 --- a/phase0.sh +++ b/phase0.sh @@ -1,6 +1,5 @@ #!/bin/bash - if [ -z $1 ] ; then echo "NOTICE : phase0.sh NbYear OutFiles" exit 1; @@ -9,11 +8,10 @@ else echo "NOTICE : phase0.sh NbYear OutFiles" exit 1; fi -fi - -if [ $(echo $1 | grep -v [a-Z] | wc -l) -eq 0 ]; then - echo "Erreur : arg \$1 non entier positif !" - exit 1 + if [ $(echo $1 | grep -v [a-Z] | wc -l) -eq 0 ]; then + echo "Erreur : arg \$1 non entier positif !" + exit 1 + fi fi TIME="$1 year ago"