How Ripgrep is integrated in Total Commander

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
ootoo
Junior Member
Junior Member
Posts: 17
Joined: 2022-02-28, 05:29 UTC

How Ripgrep is integrated in Total Commander

Post by *ootoo »

How Ripgrep is integrated in Total Commander

Ripgrep finds text quickly, but the command line cannot open the file

https://github.com/BurntSushi/ripgrep
User avatar
nsp
Power Member
Power Member
Posts: 1949
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: How Ripgrep is integrated in Total Commander

Post by *nsp »

ootoo wrote: 2022-03-04, 05:24 UTC How Ripgrep is integrated in Total Commander

Ripgrep finds text quickly, but the command line cannot open the file

https://github.com/BurntSushi/ripgrep
If you want to integrate ripgrep with TC, you could use askparam or fixed RegExp and call ripgrep (by default TC run in current folder) from a button.


TC will not take into account line number nor found expression, it can just handle file list. Unless @GhislerAutor can give some hints..

If you want to show martcing files in TC, you must get ripgrep returning filelist in a Fixed Name file (option of ripgrep or redirect with good CP from a batch).
You can make then make a command that load the file list.
If you want to automate loading from your batch whe ripgrep finish, you need to call TC using Windows copydata message...
Post Reply