This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

"Find text" - Searching a word in files and showin

 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) Printable version
View previous topic :: View next topic  
Author Message
cubic
Junior Member
Junior Member


Joined: 18 Jul 2007
Posts: 47

PostPosted: Wed Jul 04, 2018 5:38 am    Post subject: "Find text" - Searching a word in files and showin Reply with quote

I want to search (Alt+F7) 'Trump is bad' in all files in a folder and I want to see the line when the expression was found directly INTO the listed/returned files. Is it possible with total commander? There is any plugin for this?
Back to top
View user's profile Send private message
vdijken
Junior Member
Junior Member


Joined: 30 Jul 2016
Posts: 44
Location: The Netherlands

PostPosted: Wed Jul 04, 2018 6:01 am    Post subject: Reply with quote

Open the file(s) in the lister. Under F3 the search item is stored. So when you press F3 you find all the occurrences of "Trump is bad".
Back to top
View user's profile Send private message Send e-mail
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 8063
Location: Russian Federation

PostPosted: Wed Jul 04, 2018 6:04 am    Post subject: Reply with quote

You can't see lines directly in search results with TC, you only can see list of files, but if you do F3 on any file from results and press F3 again, TC will show you last search query which is "Trump is bad" in your case, so you can go through the list and view found text.
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
vdijken
Junior Member
Junior Member


Joined: 30 Jul 2016
Posts: 44
Location: The Netherlands

PostPosted: Wed Jul 04, 2018 6:20 am    Post subject: Reply with quote

Directly results in TC is hardly to realize. Every file type has his own definition of what a line is or has no definition. So the best way is to show the file in the lister with the searched item in the middle.
Back to top
View user's profile Send private message Send e-mail
cubic
Junior Member
Junior Member


Joined: 18 Jul 2007
Posts: 47

PostPosted: Wed Jul 04, 2018 7:42 am    Post subject: Reply with quote

Look at this tool (which seems to be a copy/clone of TC Search Tool).
They DO show the line were the phrase was found directly into the program.
Maybe we should submit this as a 'feature request'? I was hoping that there is a TC plugin that can do this - though I am afraid of plugins. Some of them are viruses.


https://www.fileseek.ca/
https://images.binaryfortress.com/FileSeek/Screenshots/6.1.0/main.jpg


-------------

@vdijken - related to enters
Not really. You encounter CR or LF, you pretend it is a "enter" and you display it. Don't need 'laser precision'. Just to see where my searched phrase resides into the file.....
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group