From: Karel Zak Date: Mon, 20 Feb 2023 12:41:07 +0000 (+0100) Subject: cal: (man) add example for colors X-Git-Tag: v2.39-rc1~68 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9d1f0dbc5eec10809b4d47a86187d50c8aac3250;p=thirdparty%2Futil-linux.git cal: (man) add example for colors Signed-off-by: Karel Zak --- diff --git a/misc-utils/cal.1.adoc b/misc-utils/cal.1.adoc index 38d59d3040..fd508bc02c 100644 --- a/misc-utils/cal.1.adoc +++ b/misc-utils/cal.1.adoc @@ -102,7 +102,7 @@ This option sets the adoption date of the Gregorian calendar reform. Calendar da * _gregorian_ - display Gregorian calendars exclusively. This special placeholder sets the reform date below the smallest year that *cal* can use; meaning all calendar output uses the Gregorian calendar system. This is called the proleptic Gregorian calendar, because dates prior to the calendar system's creation use extrapolated values. * _iso_ - alias of _gregorian_. The ISO 8601 standard for the representation of dates and times in information interchange requires using the proleptic Gregorian calendar. * _julian_ - display Julian calendars exclusively. This special placeholder sets the reform date above the largest year that *cal* can use; meaning all calendar output uses the Julian calendar system. - ++ See *DESCRIPTION* above. *-y*, *--year*:: @@ -165,6 +165,11 @@ Days that fall within the work-week. *weekend*:: Days that fall outside the work-week. +For example: +____ +echo -e 'weekend 35\ntoday 1;41\nheader yellow' > $HOME/.config/terminal-colors.d/cal.scheme +____ + == HISTORY A *cal* command appeared in Version 6 AT&T UNIX.