nv-l

Re: [nv-l] addtrap command

2003-01-30 08:28:41
Subject: Re: [nv-l] addtrap command
From: netview AT toddh DOT net (Todd H.)
To: David.Hustace AT tavve DOT com
Date: 30 Jan 2003 00:31:35 -0600
David.Hustace AT tavve DOT com writes:
> Scott,
> 
> Never worked with addtrap... I'm guessing here... Do you need to
> escape the newline sequence on the following line?:
> 
> Change this:
> -F '$E $G $S $# args: $*'
> -C "/usr/bin/logger -plocal1.info Tape Library Event:
> 
> To this:
> -F '$E $G $S $# args: $*' \
> -C "/usr/bin/logger -plocal1.info Tape Library Event:


Yes, otherwise the shell script thinks you're done with the addtrap
command, and then goes hunting for a command named -C  and won't find
it.  :-)

It's a shell thing, not an addtrap thing. 

> [pbsxst00007][/usr/OV/tmp]>3584.addtrap.sh
> Trap ibm3584Trap001 has been added.
> 3584.addtrap.sh[17]: -C:  not found.



---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe AT lists.tivoli DOT com
For additional commands, e-mail: nv-l-help AT lists.tivoli DOT com

*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)


<Prev in Thread] Current Thread [Next in Thread>