| OLD | NEW |
| 1 #!/bin/echo Use sanitize-win-build-log.sh or sed -f | 1 #!/bin/echo Use sanitize-win-build-log.sh or sed -f |
| 2 | 2 |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 # Use this sed script to reduce a Windows build log into something | 7 # Use this sed script to reduce a Windows build log into something |
| 8 # machine-parsable. | 8 # machine-parsable. |
| 9 | 9 |
| 10 # Drop uninformative lines. | 10 # Drop uninformative lines. |
| 11 /The operation completed successfully./d | 11 /The operation completed successfully\./d |
| 12 | 12 |
| 13 # Drop parallelization indicators on lines. | 13 # Drop parallelization indicators on lines. |
| 14 s/^[0-9]\+>// | 14 s/^[0-9]\+>// |
| 15 | 15 |
| 16 # Shorten bindings generation lines | 16 # Shorten bindings generation lines |
| 17 s/^.*"perl".*generate-bindings.pl".*\("[^"]\+\.idl"\).*$/ generate-bindings \1/ | 17 s/^.*"\(perl\|[^"]\+perl\.exe\)".*deprecated_generate_bindings\.pl".*\("[^"]\+\.
idl"\).*$/ deprecated_generate_bindings \2/ |
| 18 s/^.*"python".*idl_compiler\.py".*\("[^"]\+\.idl"\).*$/ idl_compiler \1/ |
| OLD | NEW |