bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

diffutils: diff - double slashes in --recursive output (path//path)


From: Jari Aalto
Subject: diffutils: diff - double slashes in --recursive output (path//path)
Date: Fri, 18 Jun 2010 12:05:58 +0300

Cf. http://bugs.debian.org/586301

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

[Prev in Thread] Current Thread [Next in Thread]