Working with /dev/stdin and /dev/stdout doesn't really work:
$ inkscape -l /dev/stdout file.svg | head -2
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
terminate called after throwing an instance of 'Inkscape::IO::StreamException'
what(): ERROR writing to file
Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.
** Message: Error: Inkscape encountered an internal error and will close now.
However this works:
$ inkscape -l /dev/stdout file.svg | cat | head -2
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
It would be really nice to have proper stdin - stdout behaviour like most other programs.
Working with /dev/stdin and /dev/stdout doesn't really work:
$ inkscape -l /dev/stdout file.svg | head -2 www.inkscape. org/) --> :IO::StreamExce ption'
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://
terminate called after throwing an instance of 'Inkscape:
what(): ERROR writing to file
Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.
** Message: Error: Inkscape encountered an internal error and will close now.
However this works:
$ inkscape -l /dev/stdout file.svg | cat | head -2 www.inkscape. org/) -->
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://
It would be really nice to have proper stdin - stdout behaviour like most other programs.