I ran into a problem in which, I think, it is easy to solve, but for my life I canβt understand. Maybe it's really late; not sure.
So, I have a shell script, and I have an if statement that I need to run. The problem is that I have a function inside this bash script that I use to actually create part of this find command inside the if statement. I want to know how I can do both without getting the error [: too many arguments .
Here's the current code:
if [-n `find ./` build_ext_names``]; then
That is all I really need to post. I need to figure out how to run this build_ext_names inside this find command, which in turn is inside the ifstatement
source share