Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / chrome / tools / build / linux / sed.sh
blob4605f7d01e5d028a87080691e35cf2668dc6c224
1 #!/bin/sh
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
7 # Does the equivalent of
8 # sed -e A -e B infile > outfile
9 # in a world where doing it from gyp eats the redirection.
11 infile="$1"
12 outfile="$2"
13 shift 2
15 sed "$@" "$infile" > "$outfile"