Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- YEAR_FROM=1930
- YEAR_TO=2100
- for i in $(seq $YEAR_FROM $YEAR_TO) ;
- do LANG=C date --date=@`echo \`date --date="\\\`LANG=C ncal -o $i\\\`" +%s\` + 86400 \* 7 \* 9 | bc -l` | awk '/Jun 22/ { print $NF }';
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement