[7352] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: rt 7.2R: logger

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Thu Mar 21 15:55:23 1991

From: epeisach@ATHENA.MIT.EDU
Date: Thu, 21 Mar 91 15:03:25 -0500
To: bugs@ATHENA.MIT.EDU
In-Reply-To: [7349]


>>What were you trying to do?
>>        "logger -help" to get a usage message

>>Please describe any relevant documentation references:
>>        logger(1)

I read the documentation:

SYNOPSIS
     logger [ -t tag ] [ -p pri ] [ -i ] [ -f file ] [ message
     ...  ]

Nowhere in the the man page does it say that "-" has to be interpreted
as a command line argument. I see the message field and I interpret that
as meaning that unless you use the options -i -t -f or -p, it is part of
the message.

Would you expect logger -ip local0.notice 
to work?

For instance, rm - file will use the - as a null, logger does something
similar.

I argue it's not a bug but a user interface question.

	Ezra

home help back first fref pref prev next nref lref last post