some_test_or_another is $path != current_directory
which does seem to work, thank you. Before I had been trying to do something similar, with the if statement before the print statement instead of hooked onto the end, and for some reason could not get the script to work
If you post your code, the Monks could give more specific advice. Otherwise, we're forced to look at the entrails of a goat, which is far less precise.