aboutsummaryrefslogtreecommitdiff
path: root/tool/replace.tcl
diff options
context:
space:
mode:
authormistachkin <mistachkin@noemail.net>2016-08-02 19:29:56 +0000
committermistachkin <mistachkin@noemail.net>2016-08-02 19:29:56 +0000
commit3dffcf911fbda3b84a902e716ed0b8db6647d6df (patch)
treec166d78b1dc18a7fee4110f9bc7f09051e6d7e59 /tool/replace.tcl
parentb7203cde291ec15324bf0150484df81ba7b8bced (diff)
downloadsqlite-3dffcf911fbda3b84a902e716ed0b8db6647d6df.tar.gz
sqlite-3dffcf911fbda3b84a902e716ed0b8db6647d6df.zip
The 'replace.tcl' tool should use Unix line-endings.
FossilOrigin-Name: 50de96314f75494dc1f5b14d62c595a70c4e0638
Diffstat (limited to 'tool/replace.tcl')
-rw-r--r--tool/replace.tcl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/replace.tcl b/tool/replace.tcl
index 1ecc6dc7b..5a1ac5983 100644
--- a/tool/replace.tcl
+++ b/tool/replace.tcl
@@ -4,6 +4,8 @@
# only lines successfully modified with a regular
# expression.
#
+fconfigure stdout -translation binary -encoding binary
+fconfigure stderr -translation binary -encoding binary
set mode [string tolower [lindex $argv 0]]
set from [lindex $argv 1]
set to [lindex $argv 2]