On Fri, Feb 07, 2014 at 10:02:50PM -0600, Aaron Hall wrote:
> It makes cal non-portable if you're post-processing output. BSD cal
> doesn't support -h (nor -C, which accomplishes the same thing).

Hmm, cal shouldn't even accept -C.
 
> > 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."

You got a point there. So does the original cal support '-h' or highlighting at 
all?

IIRC the '-h' was not introduced by a Debian patch but is part of the BSD 
source we use as upstream.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to