diff options
author | nbarth@chromium.org <nbarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-13 09:56:17 +0000 |
---|---|---|
committer | nbarth@chromium.org <nbarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-13 09:56:17 +0000 |
commit | 54094e2d3c389ef8a1a14e6bab8493634d00a178 (patch) | |
tree | 64470eff7f7baa506ab272fbd3e055582d19809f /build/sanitize-win-build-log.sed | |
parent | f065ec59efdaa8e00940381a99b93ef7960ba0f5 (diff) | |
download | chromium_src-54094e2d3c389ef8a1a14e6bab8493634d00a178.zip chromium_src-54094e2d3c389ef8a1a14e6bab8493634d00a178.tar.gz chromium_src-54094e2d3c389ef8a1a14e6bab8493634d00a178.tar.bz2 |
Cleanup sanitize build sed and sh scripts.
Minor cleanup:
* switch regexes to extended regexes,
which remove a few gratuitous backslashes
(and makes them less confusing, since basic regexes are so rarely used)
* fix . -> \. (which *does* need escaping in either case)
* make sed files non-executable,
since if executed they just say "don't execute this"
* delete blank line
(Just noticed these scripts when working on Blink IDL bindings, and made
necessary fixes for my changes, but cleaning up while I'm here.)
Review URL: https://chromiumcodereview.appspot.com/19052002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211564 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/sanitize-win-build-log.sed')
-rwxr-xr-x | build/sanitize-win-build-log.sed | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/build/sanitize-win-build-log.sed b/build/sanitize-win-build-log.sed index ce51654..4691b76 100755 --- a/build/sanitize-win-build-log.sed +++ b/build/sanitize-win-build-log.sed @@ -1,5 +1,3 @@ -#!/bin/echo Use sanitize-win-build-log.sh or sed -f - # Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. @@ -11,8 +9,8 @@ /The operation completed successfully\./d # Drop parallelization indicators on lines. -s/^[0-9]\+>// +s/^[0-9]+>// # Shorten bindings generation lines -s/^.*"\(perl\|[^"]\+perl\.exe\)".*deprecated_generate_bindings\.pl".*\("[^"]\+\.idl"\).*$/ deprecated_generate_bindings \2/ -s/^.*"python".*idl_compiler\.py".*\("[^"]\+\.idl"\).*$/ idl_compiler \1/ +s/^.*"(perl|[^"]+perl\.exe)".*deprecated_generate_bindings\.pl".*("[^"]+\.idl").*$/ deprecated_generate_bindings \2/ +s/^.*"python".*idl_compiler\.py".*("[^"]+\.idl").*$/ idl_compiler \1/ |