Hi

Hermann here, I'm the upstream maintainer.

Thanks for you interest in our work.

Let's have a look at the part were you complain about.

  set +e
  RN=$(rename -V  2>/dev/null| grep File::Rename)
  if [ ! -z "$RN" ] ; then
    use_to_rename='rename'
  fi
  if [ -z "$RN" ] ; then
    RN=$(prename -V  2>/dev/null| grep File::Rename)
    use_to_rename='prename'
  fi
  if [ -z "$RN" ] ; then
    RN=$(perl-rename -V  2>/dev/null| grep File::Rename)
    use_to_rename='perl-rename'
  fi
  if [ -z "$RN" ] ; then
    RNUL=$(rename -V  2>/dev/null| grep util-linux)
    if [ -z "$RNUL" ] ; then
      RNUL=$(rename.ul -V  2>/dev/null| grep util-linux)
      use_to_rename='rename.ul'
    else
      use_to_rename='rename'
    fi
  fi
  set -e

So, what does that mean?

We look for which rename tool is available and use the one we find
first. That may differ from distribution to distribution. But looking
for it, couldn't be a bug, or could it?

Anyway, this is a developer tool which will never be part of any debian
package. It's part of the source for documentation of what we do, and
how we do it.

Please consider to mark this report as done.

regards

hermann

Reply via email to