After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 113909 - Export command line to support '-' as filename for STDOUT
Export command line to support '-' as filename for STDOUT
Status: RESOLVED OBSOLETE
Product: dia
Classification: Other
Component: exports
0.91
Other All
: Normal enhancement
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2003-05-28 15:47 UTC by Ted Gould
Modified: 2019-03-20 11:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch that applies to master (47.69 KB, patch)
2011-12-31 16:26 UTC, Roland Stigge
none Details | Review
Patch that applies to dia-0-97 (59.33 KB, patch)
2011-12-31 16:26 UTC, Roland Stigge
none Details | Review

Description Ted Gould 2003-05-28 15:47:00 UTC
An enhancement that I would like is to have command line support for
putting an exported file out to STDOUT.  In this case all error messages
and informational messages couldn't be sent to STDOUT (as they'd screw up
the file).
Comment 1 Roland Stigge 2005-09-18 10:35:55 UTC
This has also been requested by a Debian user:

==============================================================================
How about support export to stdout, so I can use this command

dia -t eps -e - foo.dia | epstopdf --filter > foo.pdf
==============================================================================

I.e., "-" would be an alias for /dev/stdout.

See also: http://bugs.debian.org/328904
Comment 2 Roland Stigge 2011-12-31 16:25:32 UTC
At Debian, I added a patch that redirects all diagnostics and errors to stderr so that we can say "dia -e /dev/stdout ... | ...". I'm attaching patches that apply to the GIT master and dia-0-97 branches, respectively.

Alternatively, you can merge from http://git.antcom.de/?p=dia.git

Branches:

master -> master-msgs-to-stderr
dia-0-97 -> dia-0-97-msgs-to-stderr
Comment 3 Roland Stigge 2011-12-31 16:26:19 UTC
Created attachment 204391 [details] [review]
Patch that applies to master
Comment 4 Roland Stigge 2011-12-31 16:26:51 UTC
Created attachment 204392 [details] [review]
Patch that applies to dia-0-97
Comment 5 GNOME Infrastructure Team 2019-03-20 11:07:01 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/dia/issues/84.