/usr/share/ngraph-gtk/addin/cal.nsc is in ngraph-gtk-addins 6.06.13-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | # Description: _Calendar,show calendar in the information window,
new regexp
regexp::@="(?i)UTF-?8"
if regexp::match "$LANG"
then
LOCALE=$LANG
else
LOCALE=C
fi
del regexp
DATE=`date +%m`
set +e
new dialog
dialog::title="Calendar"
dialog::caption="select MONTH"
DATE=`get dialog: -field integer_entry:"1 12 1 $DATE"`
RVAL=$?
del dialog
set -e
if [ $RVAL != 0 ]
then
exit
fi
YEAR=`date +%Y`
MONTH=`iexpr $DATE`
menu::show_window 5
menu::echo
LANG=$LOCALE /usr/bin/cal -3 -h $MONTH $YEAR | menu::cat
menu::echo
|