Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: (OT) Error with S*
by pc88mxer (Vicar) on May 30, 2008 at 17:52 UTC
    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" ...
      Hi pc88mxer
      Thanks for guiding me. Yes there is a * which throws me the directory. Is there any way to avoid that.
      Any suggestions