Maybe, the following little shell example can help:
file_pattern='-name \*.c -o -name \*.h'
eval find . $file_pattern
The stars ("*") have to be protected from being evaluated by the shell in the
second line, therefore, the backslashes. The eval command does the trick, its a
shell built-in. By t
Good Afeternoon, I need your help about an script for korn shell.
My idea is to run a find with some -name "*pattern*", and save it's result
into a variable and then make a loop with the file names founded.
I'm devoloping for HP-UX.
I've got this variable, filled dinamically and then that I will
2 matches
Mail list logo