Re: Bug #86375 can be closed...



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]