Hello.

Received this from the Debian BTS.

(I've given the reply-to a suitable value).

---------- Forwarded message ----------
From: Jari Aalto <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Date: Fri, 18 Jun 2010 11:54:30 +0300
Subject: Bug#586301: diffutils: doubled slashes in --recursive output
    (path//path)

Package: diffutils
Version: 1:3.0-1
Severity: minor


If given a directory with a trailing slash (as it occurs after TAB
completion in Shell):

    $ diff -rq .  /etc/apache2/
    Files ./apache2.conf and /etc/apache2//apache2.conf differ
    Only in /etc/apache2//conf.d: ganglia-webfrontend
    Only in /etc/apache2//conf.d: javascript-common.conf
    Only in /etc/apache2//conf.d: munin

SUGGESTION

Strip trailing slashes from command line arguments before using them for
output.

[...]

Reply via email to