Skip to main content

Questions tagged [find]

This tag has multiple meanings. Please DO NOT use this tag if you're just trying to find something.

0 votes
0 answers
32 views

Trouble with hashdeep, fed by find, and unusual characters

I'm using hashdeep to calculate checksums, recursively for files. However, I need to exclude certain directories and so the solution would seem to be to use find to feed a file list to hashdeep. This ...
aghsmith's user avatar
  • 305
0 votes
1 answer
25 views

Find the string (or most common string) associated with user-input reference numeral within a document

PROBLEM I'm trying to make a macro which allows me to enter in a reference numeral (e.g., 102) and have the entire document be scanned for instances of that reference numeral. I want the code to ...
cjrc's user avatar
  • 23
0 votes
1 answer
33 views

Edit VBA to scan a document and pick out the reference numeral that corresponds to a string, e.g. output "102" for "dog 102" in the document

My current code to do this works when all instances of the string in the document are accompanied by the associated numeral. However, where some instances of "dog" arent followed by "...
cjrc's user avatar
  • 23
0 votes
1 answer
54 views

Using find, match and filter with reactive array in VueJS - how do I?

Thought I understood .value but apparently not! :) This is using VueJS v3 and Composition API. I'm attempting to find the first matching value in a reactive array of people. In reality my array is ...
JaneDoe's user avatar
  • 452
-1 votes
1 answer
57 views

Using git bash "find" and "sed" correctly. Do I have the best solution? [closed]

I am using git bash on Windows. I have a large set (thousands) of c/c++ files with autogenerated headers that I want to replace. My plan is first to strip the headers then apply new ones. These ...
Jimbo's user avatar
  • 85
-1 votes
3 answers
76 views

Search for all directories that are smaller than 4MB

I want to display all directories that are smaller than 4MB using find command. Already tried find / type d -size -4000000c(same with a dot instead of/`) but both combinations display files too. What ...
Paprotti's user avatar
1 vote
1 answer
38 views

Selenium returns looked up element unreliably

I got stuck.. so many hours.. looked up hundreds of questions & answers here.. I want to grep data from a banks product website, e.g. "Delta" from: https://wertpapiere.ing.de/Investieren/...
Chris Li's user avatar
0 votes
3 answers
83 views

VBA | Find all "text" and change their font color Red

I want to find all the cells with text "Not Found", and make their font Red. Any advise on how to do so? String NotFound = "Not Found" My program will call the subprocedure ...
user2741620's user avatar
0 votes
0 answers
12 views

Find string in data

I am reading out an API interface to get an average price of a specific material. The response of the API gives me a database including several different materials with a min and high price. First I ...
user25018635's user avatar
-2 votes
2 answers
57 views

Javascript Nested JSON get parent results from child [duplicate]

I have a nested JSON and I'm getting the "variants" results from API. And I'm trying to get this variants parent names. Here is the json: { "active": true, "main":...
kront's user avatar
  • 43
-1 votes
3 answers
112 views

Multiple substrings in string python within variable check [duplicate]

I have the following code: check = "red" in string_to_explore How can I replicate it for multiple substrings? I tried with: check = "red|blue" in string_to_explore but doesn't ...
iraciv94's user avatar
  • 820
0 votes
1 answer
70 views

Find value in sheet1, copy offset value, find offset value in sheet 2, paste text in offset cell

I have looked at a lot of different ways to do this and tried to incorporate their ideas into this sub but I keep getting different errors every time I run it. I am searching for "0" in the ...
Christopher's user avatar
0 votes
3 answers
111 views

Can find_if be used to find a key in std::map/std::unordered_map?

This is a simple program consisting of adding an element into the std::unordered_map. But before it's added, first check if the key already exists, if it does then don't add it. My problem is that ...
tadm123's user avatar
  • 8,698
1 vote
1 answer
70 views

How to find an element in a vector of class objects, based on one of the class members, and delete it

I have a vector of classes. Each class has two member variables, a name (string) and time spent working (integer). My goal is simply delete an element of an array that contains a specific name. I know ...
tadm123's user avatar
  • 8,698
0 votes
1 answer
17 views

I'm trying to replace text in all files using FIND

$i%2==0 ? $color="$c[color7]" : $color="$c[color7]"; I'm trying to change all files like this. $i%2==0 ? $color="$c['color7']" : $color="$c['color7']"; find . -...
iyagi's user avatar
  • 33

15 30 50 per page