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

using teip as xin #58

Open
nkh opened this issue Aug 31, 2023 · 2 comments
Open

using teip as xin #58

nkh opened this issue Aug 31, 2023 · 2 comments

Comments

@nkh
Copy link

nkh commented Aug 31, 2023

Hi, nice work

I'd like to use tape as xin.

https://github.com/mike-douglas/xin

I tried: seq 10 | teip -- 'wc -l'

Which I though would have that effect but instead showed me the help. Is it possible?

@greymd
Copy link
Owner

greymd commented Aug 31, 2023

I think teip works as same as xin.
Is it expected behavior for you?

$ seq 10 | teip -s -g . -- wc -l
       1
       1
       1
       1
       1
       1
       1
       1
       1
       1

@nkh
Copy link
Author

nkh commented Sep 1, 2023

Right, my bad, -s is needed.

But note that I didn't get "teip: Output of targeted command has been exhausted" because I also made the mistake to not pass any "masking" regexp.

I think that it would be very helpful to write what the error is rather then displaying the help.

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