teip icon indicating copy to clipboard operation
teip copied to clipboard

using teip as xin

Open nkh opened this issue 2 years ago • 2 comments

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?

nkh avatar Aug 31 '23 07:08 nkh

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

greymd avatar Aug 31 '23 22:08 greymd

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.

nkh avatar Sep 01 '23 08:09 nkh