Search Results

Search: Posts Made By: RudiC
40,152
Posted By RudiC
Please take one step at a time. What you...
Please take one step at a time. What you presented in post#16 is NOT the directories from post#12. Use full absolute paths for a test, i.e. paths rooted at / and not using variables to be...
40,152
Posted By RudiC
OK, no bashisms. What happens if you create a...
OK, no bashisms. What happens if you create a dave.cfg file in your home directory containing
home/dave/banana BANANA
home/dave/orange ORANGE
home/dave/orange1 ORANGE...
40,152
Posted By RudiC
What's your shell? And: No PM please for...
What's your shell?

And: No PM please for technical questions/data.
40,152
Posted By RudiC
So, where do we start? Being an electronics...
So, where do we start? Being an electronics engineer, is the assumption correct that you know what a specification is? Loosely phrased, the description of a target (contents, shape, structure,...
40,152
Posted By RudiC
So you corrected the most obvious errors in your...
So you corrected the most obvious errors in your script, which is good. You are "open for other codes and scripts", which is good, too. Did you consider the "loop advice"?

We still don't know what...
40,152
Posted By RudiC
You failed to mention which shell you are using....
You failed to mention which shell you are using. With a not too old bash that has extended pattern matching with the extglob shell option, and a config file with directory and keyword in it...
40,152
Posted By RudiC
And, keyword always the same as the directory...
And, keyword always the same as the directory name? Should the search respect case or not?
Where should the config file reside?
40,152
Posted By RudiC
Could you post an example of your config data, or...
Could you post an example of your config data, or are you happy with any (new) structure of config file(s)?
Any subdirectories under e.g. /home/banana?
40,152
Posted By RudiC
Not sure if I understood correctly. Let me...
Not sure if I understood correctly. Let me paraphrase:
You have a handful of directories with some files in each. You want to check if those files have exactly ONE keyword in them, each directory...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 09:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy