Unix- ja Linux-ohjelmapaketti remind sisältää kalenteritoimintojen lisäksi myös funktiot auringonnousu- ja laskuajoille. Alla on esitetty oletustiedosto .reminders, jossa käytetään e.m. funktioita. Ohjelma suoritetaan antamalla yksinkertaisesti komento rem tai remind.
Lue manuaalista lisää ohjelman ominaisuuksista.

GNU Debian

Package: remind (03.00.22-4sarge1)

Katso Debian-paketti

a sophisticated reminder service

Remind allows you to remind yourself of upcoming events and appointments via a reasonably easy to understand config file. Each reminder or alarm can consist of a message sent to standard output, or a program to be executed.

It also features: sophisticated date calculation, moon phases, sunrise/sunset, Hebrew calendar, alarms, PostScript output, tcl/tk front-end, multilingual messages, and proper handling of holidays.

Includes scripts for making a nice WWW calendar server (in the /usr/share/doc/remind/examples directory). And provides a graphical front-end for people who don't want to learn the scripting language.

Mac OS X Darwin

 $ port info remind
remind 03.00.22, Revision 1, textproc/remind
http://www.roaringpenguin.com/penguin/open_source_remind.php

{Remind is a sophisticated calendar and alarm program.}

Platforms: darwin
Maintainers: kevin@sb.org

Esimerkki

$ rem
Reminders for Wednesday, 27th July, 2005 (today):

Tänään on Wednesday, 27 July, 2005.

Paikallisaika on 16:16.

Tornion latitudi on 65° 51', longitudi E 24° 10'

Auringonnousu tänään oli klo 03:45 eli 12 tuntia ja 31 minuuttia sitten.

Auringonlasku tänään on klo 23:11 eli 6 tuntia ja 55 minuuttia kuluttua.

Auringonnousu on huomenna klo 03:49.

Päivän pituus on 19 tuntia 26 minuuttia

Päivänpituus on huomenna 8 min lyhempi kuin tänään.


Ohjaustiedosto .reminders

SET $LatDeg 65
SET $LatMin 51
SET $LongDeg -24
SET $LongMin -10

set now now()

set tod sunrise(today())
set tom sunrise(today()+1)

set len1 sunset(today())-sunrise(today())
set len2 sunset(today()+1)-sunrise(today()+1)
set dlen len2-len1
set slen iif(dlen==0, "yhtä pitkä kuin", dlen<0, abs(dlen)+plural(abs(dlen)," min", " min")+" lyhempi kuin",dlen+plural(dlen, " minute", " minutes")+" pidempi kuin")

set diff tod-now
set adiff abs(diff)
set hdiff adiff/60
set mdiff adiff%60

set mstr iif(mdiff==0, "", mdiff == 1, "1 minuutti", mdiff + " minuuttia")
set hstr iif(hdiff==0, "", hdiff == 1, "1 tunti", hdiff + " tuntia")
set astr iif(mdiff!=0 && hdiff!=0, " ja ", "")
set fn iif(diff==0, "nyt", diff <0, "sitten", "sitten")
set iw iif(diff<0, "oli", "on")
set ew iif($LongDeg<0, "E", "W")
set aw iif(tod==tom, " as well.", ".")
msg Tänään on %w, %d %m, %y.
msg Paikallisaika on [now].
msg Tornion latitudi on [$LatDeg]° [$LatMin]', longitudi [ew] [abs($LongDeg)]° [abs($LongMin)]'
msg Auringonnousu tänään [iw] klo [tod] eli [hstr][astr][mstr] [fn].

set tod sunset(today())
set dlen len2-len1

set diff tod-now
set adiff abs(diff)
set hdiff adiff/60
set mdiff adiff%60

set mstr iif(mdiff==0, "", mdiff == 1, "1 minuutin", mdiff + " minuuttia")
set hstr iif(hdiff==0, "", hdiff == 1, "1 tunnin", hdiff + " tuntia")
set astr iif(mdiff!=0 && hdiff!=0, " ja ", "")
set fn iif(diff==0, "nyt", diff <0, "sitten", "kuluttua")
set iw iif(diff<0, "oli", "on")
set aw iif(tod==tom, " as well.", ".")
msg Auringonlasku tänään [iw] klo [tod] eli [hstr][astr][mstr] [fn].
msg Auringonnousu on huomenna klo [tom][aw]
set hlen len1/60
set mlen len1%60
msg Päivän pituus on [hlen] tuntia [mlen] minuuttia
msg Päivänpituus on huomenna [slen] tänään.