diff options
author | edwin <edwin@FreeBSD.org> | 2011-07-11 10:41:08 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2011-07-11 10:41:08 +0000 |
commit | c1425b09de24ceec80e04efcaa68419c578438f5 (patch) | |
tree | 7c6b534702a37555c1c8c3da757992f3a53f2b76 /usr.bin/ncal/ncal.1 | |
parent | ee2ff3b6134ec7a822a85f545859d65ab4a5509f (diff) | |
download | FreeBSD-src-c1425b09de24ceec80e04efcaa68419c578438f5.zip FreeBSD-src-c1425b09de24ceec80e04efcaa68419c578438f5.tar.gz |
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
Diffstat (limited to 'usr.bin/ncal/ncal.1')
-rw-r--r-- | usr.bin/ncal/ncal.1 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/ncal/ncal.1 b/usr.bin/ncal/ncal.1 index 8429906..bd3b71c 100644 --- a/usr.bin/ncal/ncal.1 +++ b/usr.bin/ncal/ncal.1 @@ -171,6 +171,8 @@ that, two after that and the whole year. will warn about these combinations. .Pp A year starts on January 1. +.P +Highlighting of dates is disabled if stdout is not a tty. .Sh SEE ALSO .Xr calendar 3 , .Xr strftime 3 |