I was wondering if anyone has written a program to convert from Autocad's
DXF format to the elements used in the canvas widget. If so, it would save
me some work.
Regards,
__ __/ / / __ / | / Tuan T. Doan
/ / / / / / | / IEC Layer Testing and Advance Technology
/ / / __ / / | / 2201 Lakeside Blvd. P.O. Box 833871
__/ ______/ __/ __/ __/ __/ Richardson, TX 75083-3871
Phone: 6-444-4575/214-684-4575
Internet: td...@bnr.ca Fax: 6-444-3716/214-684-3716
or td...@x400gate.bnr.ca
anyone out there done something similar or know how I might get it done?
thanks in advance
james
This is an excellent question. The obvious answer is to use awk.
That's what it's there for. It does this sort of thing very well.
Part of the point of UNIX is not to have to reinvent routines for which
there are already perfectly good utilities.
However, I don't know how to quote the special characters in a call to
awk from tcl. I've never managed to figure it out, short of using
format to build the awk command as a string. If someone knows a better
way, I'd sure like to hear it.
David Sibley | "Accurate reckoning. The entrance into knowledge
Amateur radio NT3O | of all existing things and all obscure secrets."
sib...@math.psu.edu | -- The Rhind Papyrus
You can put about anything inside curly brackets and Tcl will leave it alone.
--
-- Email in...@NeoSoft.com for info on getting interactive Internet access.
"File names are infinite in length where infinity is set to 255 characters."
-- Peter Collinson, "The Unix File System"