On Thu, Jan 03, 2013 at 12:46:57PM +0100, Michael Meskes wrote: > So you're saying cal should check stdout and not use escapes if it is a > pipe, right? Why's that? YOu can easily remove the highlighting with > option -h as you did yourself.
It makes cal non-portable if you're post-processing output. BSD cal doesn't support -h (nor -C, which accomplishes the same thing). > I'm not saying it shouldn't I just wonder why this is a bug rather than > a suggestion. Could you point me to some document saying that cal should > behave like you say it should? Yes, cal(1). :) "The output of the cal command is supposed to be bit for bit compatible to the original Unix cal command, because its output is processed by other programs like CGI scripts, that should not be broken." Thanks for your work on Debian! - Aaron -- Aaron Hall : I the hari kari again will make equal. ah...@vitaphone.net : -- Hawkeye Pierce, via French and German -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org