Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Write status messages to stderr instead. #2

Closed
ycd opened this issue Jan 20, 2021 · 0 comments
Closed

[Fix] Write status messages to stderr instead. #2

ycd opened this issue Jan 20, 2021 · 0 comments

Comments

@ycd
Copy link
Owner

ycd commented Jan 20, 2021

Don’t write status messages to stdout.

  • Currently using pipes with --append=false writes
   ~$ toc -p <(curl https://raw.githubusercontent.com/ycd/toc/main/README.md 2>&-) --append=false > toc.md
   ~$ cat toc.md

    - [Table of Contents](#table-of-contents)
        * [Usage](#usage)
        * [Installation](#installation)
            * [Packages](#packages)
            * [Downloads](#downloads)
            * [Installation from source](#installation-from-source)
                * [Unix/Linux](#unixlinux)
        * [Contributing](#contributing)
        * [Licence](#licence)
    ✔ Table of contents generated successfully.
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ <- This shouldn't be included
@ycd ycd closed this as completed in c173d68 Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant