Date:        Wed, 2 Aug 2017 06:13:02 +0000
    From:        Austin Group Bug Tracker <nore...@msnkbrown.net>
    Message-ID:  <810aa1250868693f1501980395894...@austingroupbugs.net>

In this ,,,

  |   while [ $? -eq 0 ]; do
  |     set -- *
  |     test $# -gt 0 || break
  |     rm -fr -- "$@"
  |   done

the "test $# -gt 0" is pointless, it cannot fail, the break
can never be executed.   The loop also depends upon the exit
status of whatever the previous command was (though that is
easily overcome.)

But I have no idea what this has to do with whether or not a -v
option should be added to the spec for rm ?   Maybe I am missing
something?

kre

Reply via email to