Sign in
qemu
/
meson
/
refs/heads/endmessage
/
.
/
test cases
/
common
/
185 escape and unicode
/
file.py
blob: af67a09508e10391016a4dd20921e61a52f752b3 [
file
] [
log
] [
blame
]
#!/usr/bin/env python3
import
sys
import
os
with
open
(
sys
.
argv
[
1
])
as
fh
:
content
=
fh
.
read
().
replace
(
"{NAME}"
,
sys
.
argv
[
2
])
with
open
(
os
.
path
.
join
(
sys
.
argv
[
3
]),
'w'
)
as
fh
:
fh
.
write
(
content
)