- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / tools / build / linux / sed.sh
1 #!/bin/sh
2
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.
6
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.
10
11 infile="$1"
12 outfile="$2"
13 shift 2
14
15 sed "$@" "$infile" > "$outfile"