svn commit: r223931 - head/usr.bin/ncal

Pan Tsu inyaoo at gmail.com
Mon Jul 11 23:16:36 UTC 2011


Edwin Groothuis <edwin at FreeBSD.org> writes:

> Author: edwin
> Date: Mon Jul 11 10:41:08 2011
> New Revision: 223931
> URL: http://svn.freebsd.org/changeset/base/223931
>
> Log:
>   ncal(1) highlights the current date (or a date provided via parameter)
>   even if stdout is not a tty. If stdout is not a tty the data is
>   normally processed by other tools and no control sequences are
>   expected.
>
>   PR:		bin/158580
>   MFC after:	1 week

What about "cal" mode?

  $ cal | vis
       July 2011
  Su Mo Tu We Th Fr Sa
                  1  2
   3  4  5  6  7  8  9
  10 _\^H1_\^H1 12 13 14 15 16
  17 18 19 20 21 22 23
  24 25 26 27 28 29 30
  31


More information about the svn-src-head mailing list