aboutsummaryrefslogtreecommitdiff
path: root/age
blob: 8be91b8e999ab28704bd45162cb144c3eec11c53 (plain)
1
2
3
4
5
6
7
8
#!/bin/rc
rfork ne
bday=862048830 # % date -j -f "%b %d %Y" "Apr 26 1997" +%s
today=`{date -n}

bc <<EOF
($today - $bday)/(3600*24*365)
EOF