script: detect links missing a date
This commit is contained in:
parent
403cb8308b
commit
c1a2342ceb
6
missing_dates.sh
Normal file
6
missing_dates.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user