Package: mr Version: 1.16 Severity: wishlist Dear Joey,
thanks for the 'mr grep' command ! Here are two trivial patches to add 'ack-grep' to the Suggested packages, and to add entries for 'mr grep' in the manual page. Have a nice day, -- Charles -- System Information: Debian Release: 7.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.10-1-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages mr depends on: ii myrepos 1.20130710 mr recommends no packages. mr suggests no packages. -- no debconf information
>From bdee8e5a095f17254c1d1cb44496ebaccd0ec9b0 Mon Sep 17 00:00:00 2001 From: Charles Plessy <[email protected]> Date: Mon, 19 Aug 2013 09:52:34 +0900 Subject: [PATCH 1/2] Suggest ack-grep, used with the 'mr grep' command. --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index a9b6f21..c57ff33 100644 --- a/debian/control +++ b/debian/control @@ -11,7 +11,7 @@ Package: myrepos Architecture: all Section: vcs Depends: ${misc:Depends} -Suggests: subversion, git-core | git (>= 1:1.7), cvs, bzr, mercurial, darcs, fossil, vcsh, liburi-perl, curl +Suggests: subversion, git-core | git (>= 1:1.7), cvs, bzr, mercurial, darcs, fossil, vcsh, liburi-perl, curl, ack-grep Provides: mr Replaces: mr Recommends: libwww-perl, libhtml-parser-perl, perl -- 1.8.4.rc0
>From 0f203447d7faad2c5a94db9bc61a624c136a105d Mon Sep 17 00:00:00 2001 From: Charles Plessy <[email protected]> Date: Mon, 19 Aug 2013 09:57:39 +0900 Subject: [PATCH 2/2] Document the grep subcommand. --- mr | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mr b/mr index 435fabb..bdf0c3c 100755 --- a/mr +++ b/mr @@ -24,6 +24,8 @@ B<mr> [options] diff B<mr> [options] log +B<mr> [options] grep pattern + B<mr> [options] run command [param ...] B<mr> [options] bootstrap url [directory] @@ -113,6 +115,11 @@ Show a diff of uncommitted changes. Show the commit log. +=item grep pattern + +Searches for a pattern in each repository using the grep subcommand. Uses +ack-grep on VCS that do not have their own. + =item run command [param ...] Runs the specified command in each repository. -- 1.8.4.rc0

