Advertisement
Infra_HDC

22 June All Rus Saints Holiday Years List

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