Questions tagged [find]
This tag has multiple meanings. Please DO NOT use this tag if you're just trying to find something.
find
11,262
questions
1
vote
1
answer
25
views
Beautiful Soup ".find" not working running from windows terminal
i'm trying to automate a program to scrap periodically some prices from amazon and other pages. (I'm starting with amazon)
The problem is when i do the soup.find method with PyCharm, it finds his ...
0
votes
1
answer
30
views
Bash command substitution issues
I'm writing a Python script to parse various logs across different hosts.
I can successfully run bash scripts via Python's subprocess module, however, I want to minimize the number of ssh calls, so I'...
0
votes
1
answer
39
views
Find/Replace Row number within Formula
I have an Excel formula where I wish to change range row number found in a specific cell.
=SORT(UNIQUE(FILTER(CHECKLIST!K7:K120180,(CHECKLIST!B7:B120180=INVENTORY!H5)*(CHECKLIST!C7:C120180=INVENTORY!...
-1
votes
1
answer
58
views
strange filenames - find differs from ls [closed]
I found some strange filenames and some strange behaviour of find and ls:
ls shows:
Grundlagen der Benutzerf'$'\374''hrung im DataWizard.pdf'
find shows:
-->find . -name *$'\374'*
find: paths must ...
1
vote
2
answers
26
views
How to put the same character in the beginning of all rows using regex?
I have a list of 10 digit numbers in a txt file.
I want to put the same character in the beginning of all rows using regex, without changing the numbers.
I also want to put the character at the end of ...
1
vote
2
answers
49
views
`find` behaves unintuitively when pruning directories
I have few files under the current directory,
./a.txt
./b.txt
./dir1/c.txt
./dir1/d.txt
When I execute find . -path './dir1' -prune -o -name "*.txt",
as expected, it excludes everything ...
1
vote
0
answers
5
views
Is there an R function that minimise a bivariate function f
I need to write a code that using the R function constrOptim, minimise an bivariate function. Please tell me what is wrong in the constrOptim , went i run the code i have this warning message
"...
1
vote
0
answers
48
views
Request help marrying two VBA scripts together (Find/Replace)
Attempting to add Find/Replace to existing code
Starting with this piece of code which works to convert a .CSV to an .XLS File:
Sub CSVtoXLS()
'UpdatebyExtendoffice20170814
Dim xFd As FileDialog
...
0
votes
1
answer
31
views
Find and replace n-th occurrence in VS Code
I have a large data set that I'd like to convert into a workable csv file.
The dataset currently looks like this:
[att1]; [att2]; [att3]; [att1]; (...)
To make this a workable csv-file, I'd need to ...
1
vote
1
answer
75
views
How to find file names with non-printable characters using `find` on macOS?
Some folders on macOS have custom icons that are stored in a file named Icon?, where the ? is actually a CR character, and only prints as "?" in most cases (in Terminal and Finder).
But when ...
0
votes
4
answers
119
views
Create an array using item from different array
I need to create a new array of objects with 12 item (months & value) on it but it must check if the month exist on other array. If it exist it will push onto the array if not it will have a value ...
0
votes
2
answers
82
views
How to remove certain line numbers from a file and save the file using the inputfilename in batch
I'm trying to edit a txt file by removing certain line numbers from it.
i would like to search for all files in the folder containing .txt, remove some lines and than save the file using the ...
0
votes
0
answers
30
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 ...
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 ...
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 "...