URL:
<http://savann
ah.gnu.org/bugs/?21039>
Summary: POSIXLY_CORRECT should imply
-nowarn
Project: findutils
Submitted by: ericb
Submitted on: Tuesday 09/11/2007 at 11:21
Category: find
Severity: 3 - Normal
Item Group: Wrong result
Status: Confirmed
Privacy: Public
Assigned to: None
Originator Name: Eric Blake
Originator Email: ebb9 byu.net
Open/Closed: Open
Discussion Lock: Any
Release: 4.3.8
Fixed Release: None
_______________________________________________________
Details:
According to the Austin Group:
https://www.opengroup.org/sophocles/show_mail.tpl?CA
LLER=index.tpl&source=L&listname=austin-group-l&
id=10994
find is in violation of POSIX if it prints any warning
message without
affecting exit status.
Either we should make POSIXLY_CORRECT imply -nowarn (since
the
POSIX-conformant user can't use the extension -nowarn
themselves), or we
should affect the exit status any time a warning is printed.
I very much
prefer the former (ie. printing warnings with an exit status
of 0 is a very
useful behavior, albeit non-POSIX, so it would be much nicer
to just state
that when the user has requested POSIX behavior, they don't
want warnings).
_______________________________________________________
Reply to this item at:
<http://savann
ah.gnu.org/bugs/?21039>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
|