WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

improve support for export to stdout #55

@jonassmedegaard

Description

@jonassmedegaard

When passing - as output file, it mostly works: Both curl and wget treats that as a redirection to stdout.

Unfortunately the shell script does not expect this (which is a common pattern in POSIX-like tools):

a) An annoying trailing line containing the lone dash is appended.
b) Exporting as slides does not support this.

For both cases, dash should here be captured and an appropriate action (either nothing or a graceful error message emitted to stderr) should be taken instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions