I am reluctant to approve this question because it clearly is not a perl question. However, why not ask it in the CB? Also, it would be helpful if you created a user name, and then people could /msg you directly.
That said, I am having difficultly replicating your problem. Your script and example invocation work fine for me under both ksh and bash. However, there will be a problem if you call Log with * in the argument:
Log "Hello *"
To avoid that, simply put $message in quotes:
...
echo `date` "$message"
...
| [reply] [d/l] [select] |
Hi pc88mxer
Thanks for guiding me. Yes there is a * which throws me the directory. Is there any way to avoid that. Any suggestions
| [reply] |