I am trying to figure out why i am getting an error while executing the script...altought it seems like its work...but still get the test arguement error...any help would be appericiate...this script basically connects to any oracle db \( just have to pass db name to it\) and then it will clean up all old trace file etc etc...
It could be happening anywhere you're feeding unquoted strings into a [ ] statement. If the variable is empty it won't expand to an empty string, it'll expand to nothing causing it to complain about missing arguments.