From f90c69a7c8adcf0042f14a6f69b30059920ff580 Mon Sep 17 00:00:00 2001 From: Ed Date: Thu, 16 Apr 2015 10:43:57 +0100 Subject: [PATCH] Stop README ID-extract snippet leaving spaces end of line --- README.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 81f2257..e8c341e 100644 --- a/README.markdown +++ b/README.markdown @@ -176,11 +176,11 @@ repository which name on its own line. This would allow you to easily redirect the output of this command sequence to `~/.svn2git/authors` and have a very good starting point for your mapping. - $ svn log --quiet | grep -E "r[0-9]+ \| .+ \|" | cut -d'|' -f2 | sed 's/^ //' | sort | uniq + $ svn log --quiet | grep -E "r[0-9]+ \| .+ \|" | cut -d'|' -f2 | sed 's/ //g' | sort | uniq Or, for a remote URL: - $ svn log --quiet http://path/to/root/of/project | grep -E "r[0-9]+ \| .+ \|" | cut -d'|' -f2 | sed 's/^ //' | sort | uniq + $ svn log --quiet http://path/to/root/of/project | grep -E "r[0-9]+ \| .+ \|" | cut -d'|' -f2 | sed 's/ //g' | sort | uniq Debugging ---------