+1 to that, seen that confuse so many folks here, you are only asterisk when you tell the OS you are asterisk, when you are asterisk you have your own āenvironmentā which can be wildly diverse to what you thought (env)
There are a few examples of PHP command line scripts in the forum archives. Thanks for sharing this. I would love to see more people sharing these kinds of tips and little utilities.