Bug#739915: if -f's file is missing, no error is returned, and one gets ton of output

2014-10-17 Thread Michael Meskes
On Mon, Feb 24, 2014 at 05:35:17AM +0800, Dan Jacobson wrote:
 $ calendar -f /dev/null|wc
   0   0   0
 $ calendar -f /dev/null|wc
  33 2171622
 
 
 It would be better to print and return an error.

Agreed, I wonder why it does always try to open the systemwide default. I
couldn't find anything in the docs either. Apparently FreeBSD's version of
calendar doesn't either. 

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



Bug#739915: if -f's file is missing, no error is returned, and one gets ton of output

2014-02-23 Thread Dan Jacobson
Package: bsdmainutils
Version: 9.0.5

$ calendar -f /dev/null|wc
  0   0   0
$ calendar -f /dev/null|wc
 33 2171622


It would be better to print and return an error.


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