[input] Error: Unable to find a match: supervisor /bin/sh: tar: command not found
[output] sh.command-not-found.tar: 1 yum.error.Unable-to-find-a-match.supervisor: 1
Signed-off-by: Bai Jing 799286817@qq.com --- stats/openeuler_docker | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 stats/openeuler_docker
diff --git a/stats/openeuler_docker b/stats/openeuler_docker new file mode 100755 index 000000000..749f3667b --- /dev/null +++ b/stats/openeuler_docker @@ -0,0 +1,12 @@ +#!/usr/bin/env ruby + +while (line = STDIN.gets) + case line.chomp! + when /Error: Unable to find a match: (.+)/ + $1.split.each do |repo| + puts "yum.error.Unable-to-find-a-match.#{repo}: 1" + end + when //bin/sh: (.+): command not found/ + puts "sh.command-not-found.#{$1}: 1" + end +end