[input] ^[[0mwordpress_build_on_fail: 1
[output] wordpress_build_on_fail: 1
Signed-off-by: Bai Jing 799286817@qq.com --- stats/openeuler_docker | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 stats/openeuler_docker
diff --git a/stats/openeuler_docker b/stats/openeuler_docker new file mode 100755 index 000000000..3f8012a8c --- /dev/null +++ b/stats/openeuler_docker @@ -0,0 +1,8 @@ +#!/usr/bin/env ruby + +while (line = STDIN.gets) + line.chomp! + next unless line =~ /build_on_fail/ + + puts line +end
Please improve the name.
build_on_fail => build_fail
or better
wordpress_build_on_fail => wordpress.build.fail
Thanks, Fengguang
On Thu, Jan 14, 2021 at 03:58:46PM +0800, Bai Jing wrote:
[input] ^[[0mwordpress_build_on_fail: 1
[output] wordpress_build_on_fail: 1
Signed-off-by: Bai Jing 799286817@qq.com
stats/openeuler_docker | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 stats/openeuler_docker
diff --git a/stats/openeuler_docker b/stats/openeuler_docker new file mode 100755 index 000000000..3f8012a8c --- /dev/null +++ b/stats/openeuler_docker @@ -0,0 +1,8 @@ +#!/usr/bin/env ruby
+while (line = STDIN.gets)
- line.chomp!
- next unless line =~ /build_on_fail/
- puts line
+end
2.23.0
On Thu, Jan 14, 2021 at 04:05:40PM +0800, Wu Fengguang wrote:
Please improve the name.
build_on_fail => build_fail
or better
wordpress_build_on_fail => wordpress.build.fail
Ok, I will use wordpress.build.fail.
Thanks, Baijing
On Thu, Jan 14, 2021 at 03:58:46PM +0800, Bai Jing wrote:
[input] ^[[0mwordpress_build_on_fail: 1
[output] wordpress_build_on_fail: 1
Signed-off-by: Bai Jing 799286817@qq.com
stats/openeuler_docker | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 stats/openeuler_docker
diff --git a/stats/openeuler_docker b/stats/openeuler_docker new file mode 100755 index 000000000..3f8012a8c --- /dev/null +++ b/stats/openeuler_docker @@ -0,0 +1,8 @@ +#!/usr/bin/env ruby
+while (line = STDIN.gets)
- line.chomp!
- next unless line =~ /build_on_fail/
- puts line
+end
2.23.0