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. > > 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?
I think what happened was the behaviour changed in the newer version. Previously cal was doing the right thing when the stdout was piped, but with the newer version the -h was necessary. I'm not remembering more specifics now, sorry.
signature.asc
Description: Digital signature