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

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

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.”
Received on Fri Jun 16 2017 - 21:00:40 CEST

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