Re: [dev] [sbase] rm missing error message?

From: Mattias Andrée <maandree_AT_kth.se>
Date: Fri, 16 Jun 2017 21:05:57 +0200

On Fri, 16 Jun 2017 21:00:40 +0200
Quentin Rameau <quinq_AT_fifth.space> wrote:

> Hi,
>
> > Sounds like it says you must not write those error message if -f is
> > used. Kind of a strange requirement as `2>/dev/null` would do that.
> >
> > > I don't fully understand the wording in POSIX on the page[0].
> > >
> > > [0]
> > > http://pubs.opengroup.org/onlinepubs/9699919799/utilities/rm.html
>
> “It is less clear that error messages regarding files that cannot be
> unlinked (removed) should be suppressed. Although this is historical
> practice, this volume of POSIX.1-2008 does not permit the -f option to
> suppress such messages.”
>

Didn't read that part.

Received on Fri Jun 16 2017 - 21:05:57 CEST

This archive was generated by hypermail 2.3.0 : Fri Jun 16 2017 - 21:12:22 CEST