script: detect links missing a date

This commit is contained in:
Morgan 2018-09-08 11:40:38 +02:00
parent 403cb8308b
commit c1a2342ceb

6
missing_dates.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
current=$(date "+%Y")
for ((year=1900; year<=current; year=year+1))
do
grep "/$year/" README.md | grep -v "($year)"
done