Shopping Reminder for /bin/login
Ron Natalie <ron>
ron at brl-sem.ARPA
Thu Nov 28 13:28:02 AEST 1985
> The following is a code fragment which I installed into the login program
> at mitccc, which is also suitable for independant use. The day after
> Thanksgiving, it starts announcing how many shopping days are left until
> Christmas :-). (Note that it assumes that ALL days are shopping days, which
> in Massachussetts only recently became true...)
>
If you have the PWB or SYSTEM III/V date program you can just stick
this in your profile and not bother with modifying login.
echo Only `expr 359 - \`date +%j\`` days until Christmas!
Not quite as fancy, but adequate.
-Ron
More information about the Comp.sources.unix
mailing list