Skip to main content

Questions tagged [search]

search is used for questions relating to searching through the contents of files. For searching for filenames using the locate command use the tag locate.

0 votes
2 answers
58 views

command suggestions while typing for beginners

When typing the commands in any shell, can there be any kind of setting that can be enabled for beginners to type just an alphabet and it will suggest multiple commands that the beginner might be ...
Abhishek Dutta's user avatar
0 votes
0 answers
52 views

Vim: using a match (/ regexp) as a boolean to direct program flow

I'm developing a script for Vim to automatically update a "Last modified" timestamp on files. I'm sure this has been done before. I suspect answers will direct me to these existing ...
amphibole's user avatar
0 votes
1 answer
81 views

How to search in a pdf or text file by a regex pattern and output locations of matches?

Is there a pdf viewer that allows me to search its text by a regex expression? In case that I haven't found one, I am thinking about extracting the text and layout from a pdf file by less my.pdf > ...
Tim's user avatar
  • 103k
0 votes
2 answers
82 views

Is there a way to find all PNG files in a folder that have transparent pixels

I have a couple thousand PNGs, all of them probably support the alpha channel but only some of them actually use it (Only some of them actually have transparent pixels). Is there any way at all for me ...
Cestarian's user avatar
  • 2,071
-3 votes
1 answer
77 views

Can I use the DuckDuckGo search engine without Creating a DuckDuckGo Email Protection account? [closed]

Will it be legal if I use the DuckDuckGo search engine without Creating a DuckDuckGo Email Protection account? Or Can I use the DuckDuckGo search engine without Creating a DuckDuckGo Email ...
Md. Sobrul Islam's user avatar
0 votes
0 answers
34 views

Search a binary file for a list of 500 000 binary patterns

I have a list of binary "strings" in a file delimited by newlines. I'd like to use that to search another binary file to check which of these patterns the binary files contains and at which ...
PaperTsar's user avatar
  • 181
0 votes
0 answers
42 views

Recursively find ebooks that match all the search strings

I have few pdf, epub, mobi files. I want to find all files which have the words: all-or-nothing pervasive catastrophizing I mean all words have to be present in the file. They do not need to be in ...
Ahmad Ismail's user avatar
  • 2,738
0 votes
0 answers
32 views

Fuzzy Search for filenames with synonyms and tags (auto generated)

Filesystem: Ext4 I create separate files for each topic. I have thousands of files segregated into 2 or 3 levels of hierarchical broad categories. I would like to search for these files efficiently. ...
Porcupine's user avatar
  • 2,056
1 vote
1 answer
46 views

Search and replace content

PIN A 1 1:3 0:8 0 0:0 PIN B 1 1:0 0 0:0 Z Z:0 PIN C 1 1:3 0:8 0 0:0 Z Z:0 I would like to change the content on PIN A & PIN C only without affecting PIN B to 0 0:3 Z 0:3 Can't seem to find a ...
JSL's user avatar
  • 11
0 votes
0 answers
92 views

Bash reverse search inserting characters into command after hitting tab

SYSTEM: Ubuntu: 20.04 Kernel: 5.4.0-162-generic bash: 5.0.17(1) I found a strange problem that when I use bash's reverse search with CTRL+r, I will find a command I want to run. I select TAB to ...
Dave's user avatar
  • 621
0 votes
0 answers
65 views

How to "fuzzy" match (misspelled) strings in a directory?

I would like to search a directory(tree) with textfiles for strings that are approximately similar to a certain string, similar to this https://en.wikipedia.org/wiki/Approximate_string_matching. I ...
d-b's user avatar
  • 1,937
-1 votes
2 answers
168 views

Search for a string at proximity with another string?

Say I want to search for '123456789' and I want it to be near 'firstname'. Is there a way to do it? I've 0 logic to do this. Maybe piping greps could work? What kind of algorithm is best suited for ...
achhainsan's user avatar
1 vote
1 answer
85 views

Just as there is "locate" to "find". Is there a database for a faster "grep"?

locate (or rather, updatedb) is somewhat simple: it takes the output of find for the required paths (usually '/'), sorts it, and then compresses it with a front-compression tool (frcode), in which the ...
Sebastian Carlos's user avatar
0 votes
1 answer
76 views

How to do a random search in vi editor?

By random, I mean neither from top, nor from middle, nor from bootom. The search should return randomly ordered results. eg: I am searching for "failed" in vi editor. I want randomly ordered ...
achhainsan's user avatar
0 votes
1 answer
80 views

find content of files with other text and combination of xml tags, grep in grep?

I have a lot of files that match a grep 'xmltag' and 'subtag'. random xml needed_text random xml <xmltag> <subtag>content</subtag> </xmltag> I want to search for files that ...
Jvo's user avatar
  • 3

15 30 50 per page
1
2 3 4 5
���
39