You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Oh, and in case you are curious: Exporting and redirecting to stdout is useful to further process the data without needing an intermediary storing on disk - e.g. a script converting mermaid to {mermaid} for reuse with quarto.
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.
The text was updated successfully, but these errors were encountered: