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