I am using the $* inside the shell function which is printing me the files in the current directory. But i use it to echo the function parameters
Log "Hello How are you"function Log { message="${*}" if [ "$LOGFIL" != "" ] then echo `date` $message >> $LOGFIL fi }
Any suggestion would be highly appreciated. I am using Korn shell and HP-Unix
In reply to (OT) Error with S* by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |