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

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

Re: bug diff command


From: Norihiro Tanaka
Subject: Re: bug diff command
Date: Sun, 04 Jan 2015 23:57:11 +0900

On Sat, 03 Jan 2015 23:02:52 +0100
PANEL <address@hidden> wrote:

> "diff -q"  seems recursively search files in subdirectories

Thanks, but I do not seem that "diff -q" searches files in subdirectories,
although it compares files on two directories.

$ mkdir a/topocad/ b/topocad/
$ echo foo > a/topocad/x
$ echo bar > b/topocad/x

$ LC_ALL=C diff -q a b
Common subdirectories: a/topocad and b/topocad
$ LC_ALL=C diff -qr a b
Files a/topocad/x and b/topocad/x differ

Former finds common directories, but does not search the file "x" in
subdirectories.




reply via email to

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