On Thu, Nov 23, 2000 at 02:30:54AM +0200, petro wrote:
> I have such script.....
> 
> PATH=/usr/local/bin
[...] 
> if [ $# = 0 ]; then
[...] 
>         if [ -f $PID_FILE ]; then
[...] 
>                 if [ $? = 0 ]; then
[...]
>                echo error: $PID_FILE not found | tee -a $LOG_FILE

> I receive three errors....
> I can't understand whereis the errors.....
> [: not found
> [: not found
> tee: not found

$ which [
/bin/[
$ which tee   
/usr/bin/tee

Fix your PATH and all will be well.  And next time, post your question
to [EMAIL PROTECTED]

-- 
 Ben

220 go.ahead.make.my.day ESMTP Postfix


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to