in reply to (OT) Error with S*

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" ...

Replies are listed 'Best First'.
Re^2: (OT) Error with S*
by kprasanna_79 (Hermit) on May 30, 2008 at 19:56 UTC
    Hi pc88mxer
    Thanks for guiding me. Yes there is a * which throws me the directory. Is there any way to avoid that.
    Any suggestions