I have 2 functions in my bash script where one is called main and one is do_something.
In main i have a find -exec do_something {} \;
however, the result of the find in not getting over to the do_something function.
Can anyone tell me if this is possible, or am I doing something wrong?
In main i have a find -exec do_something {} \;
however, the result of the find in not getting over to the do_something function.
Can anyone tell me if this is possible, or am I doing something wrong?