blob: 22615cbc935fc7ab972d5031d73795482f26be64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
# Copyright (c) 2009 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.
# Does the equivalent of
# sed -e A -e B infile > outfile
# in a world where doing it from gyp eats the redirection.
infile="$1"
outfile="$2"
shift 2
sed "$@" "$infile" > "$outfile"
|