Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: chrome/tools/build/linux/sed.sh

Issue 174372: Add license information to our shell scripts. (Closed)
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/install-build-deps.sh ('k') | chrome/tools/build/win/make_chromebot_zip.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2009 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
3 # Does the equivalent of 7 # Does the equivalent of
4 # sed -e A -e B infile > outfile 8 # sed -e A -e B infile > outfile
5 # in a world where doing it from gyp eats the redirection. 9 # in a world where doing it from gyp eats the redirection.
6 10
7 infile="$1" 11 infile="$1"
8 outfile="$2" 12 outfile="$2"
9 shift 2 13 shift 2
10 14
11 sed "$@" "$infile" > "$outfile" 15 sed "$@" "$infile" > "$outfile"
OLDNEW
« no previous file with comments | « build/install-build-deps.sh ('k') | chrome/tools/build/win/make_chromebot_zip.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698