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

Data Passthrough? #60

Closed
zQueal opened this issue Dec 3, 2021 · 1 comment
Closed

Data Passthrough? #60

zQueal opened this issue Dec 3, 2021 · 1 comment

Comments

@zQueal
Copy link

zQueal commented Dec 3, 2021

echo "testing" | gocopy

Works perfectly well, however, it doesn't return data to stdout, which should IMO be the default behavior. If you want to supress output, then pass a flag;

> echo "testing" | gocopy
"testing"

> echo "testing" | gocopy -q

> 

Since gocopy slurps all input, even using tee as a workaround doesn't work.

> echo "testing" | tee | gocopy

>
@pataquets
Copy link

pataquets commented Feb 2, 2025

Just browsing the repo issues here.
@zQueal just guessing... wouldn't it work if you tee'd to /dev/stderr? Thus, you'll get two streams to tty, stdout which would go to the pipe and stderr will reach tty, as you'll not be piping it.
HTH.

@zQueal zQueal closed this as completed Mar 20, 2025
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

2 participants