Ajout vérification paramètre

This commit is contained in:
Rick 2020-12-14 01:28:34 +01:00
parent d8b0137fbd
commit a177570799
Signed by: Rick
GPG key ID: 9570A7DB7CB2F436

View file

@ -1,6 +1,6 @@
#!/bin/bash
jour=0
jour=${1:-0}
while [ $jour -le 0 ] || [ $jour -ge 25 ]
do
read -p "Indiquez le jour à compiler : " jour