Re: Bug #86375 can be closed...
- From: Tim Ellis <Tim Ellis gamet com>
- To: dia-list gnome org
- Cc: andrew junk new-destiny co uk
- Subject: Re: Bug #86375 can be closed...
- Date: Tue, 16 Jul 2002 12:11:25 -0700
For example, I might like to export to the following:
"grep attribute | sed -e 's/ABC/DEF/' > munged.txt"
Maybe I'm missing the point, but what stops you doing:
export in dia to diagram.dia, say.
cat diagram.dia | grep attribute | sed -e 's/ABC/DEF/' > munged.txt
Does that not do the same thing? Do you really think this
feature would be oft-used? (not a complaint just surprised!)
Good question.
Here's my situation. I've created a Perl script that converts Dia UML
diagrams into SQL DDL for some database. I'd like for a DBA to just do an
export-as to get a SQL DDL file in the end.
Thus, save the diagram to "tedia2sql --stdin -t oracle > DDL.sql" and
they get a beautiful DDL.sql file straight from Dia.
Of course, the sophisticated user (me & you, apparently) can just save the
file and run a script from the commandline.
It's actually a feature I personally would probably never get around to
using, but I can bet you a dollar that a bunch of people would, if Dia
gets used by more and more code-generation scripts.
I know, for example, there is a script out there somewhere that generates
C++ code based on UML diagrams, and I bet the folks that do that would be
interested in this feature as well.
--
Tim Ellis
DBA, Gamet
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]