ripgrep icon indicating copy to clipboard operation
ripgrep copied to clipboard

How can I execute it with other commands at the same time?

Open ghost opened this issue 3 years ago • 3 comments

When i execute apt list | rg 'apk' Its execution result is the direct output result of rg How should I use *|rg ? thank you !

ghost avatar Jul 04 '21 11:07 ghost

I don't understand the question. Why not include the actual output and the expected output? Please also consider using standard commands. I don't have apt on my system.

BurntSushi avatar Jul 04 '21 11:07 BurntSushi

我不明白这个问题。为什么不包括实际输出和预期输出?还请考虑使用标准命令。apt我的系统上没有。

Can rg not be used together with | ?

https://user-images.githubusercontent.com/83487691/124404922-8c4e9280-dd6f-11eb-8057-d4f70bcfbd40.mp4

ghost avatar Jul 05 '21 01:07 ghost

Please provide a reproduction. I don't want a video. I want commands I can run. Of course ripgrep works with |.

What version of ripgrep are you using?

Why did you delete the issue template that requested this basic information? I didn't put it there for fun.

BurntSushi avatar Jul 05 '21 01:07 BurntSushi

The account of the user who asked this question has since been deleted, time to close this?

jplatte avatar Oct 17 '23 07:10 jplatte