blob: 9284a28ec68c86c03c55dbb8cb167ed9bbc75ddd (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
# 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"
|