mirror of
https://github.com/marado/RNID.git
synced 2024-12-22 11:55:59 +00:00
Update 50-imt.sh
Codigo com erro no final faltava o fi.
This commit is contained in:
parent
9a06b2431c
commit
d1f3dfe772
@ -19,8 +19,9 @@ if [ "$(wget https://www.imt-ip.pt/ -o /dev/null -O -| hxnormalize -x -l 10000|h
|
||||
else
|
||||
echo "iefp: Incumprimento mantém-se, a actualizar o README (faça um git diff, valide, e commit!)";
|
||||
while IFS='' read -r line || [[ -n "$line" ]]; do
|
||||
test $(echo "$line"|grep -v iefp|wc -l) -eq "1" \
|
||||
test $(echo "$line"|grep -v imt|wc -l) -eq "1" \
|
||||
&& echo "$line" \
|
||||
|| (h=$(echo "$line"|cut -d\| -f1-4); t=$(echo "$line"|cut -d\| -f6-); echo "$h| $(date +%Y/%m/%d) |$t");
|
||||
done < README.md > new
|
||||
mv new README.md
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user