View Single Post
Old 05-07-2004, 04:56 PM  
Ofloo
Member
 
Join Date: Jun 2003
Posts: 43
Default

set filename "your file to convert"

set rfile [open $filename r]
fconfigure $rfile -translation crlf
set rdata [read $rfile]
close $rfile
set wfile [open $filename w]
fconfigure $wfile -translation crlf
puts $wfile "$rdata"
close $wfile


that should take care of it i think ..
Ofloo is offline