"Simonsen, Larry" wrote:
>
> I tried this and received the error
> :xeq sh.hpbin.sys "-c 'kill 'head -n 1 /SENDMAIL/PUB/etc/sendmail.pid''"
> **** AMBIGUOUS USE OF QUOTES WITHIN INFO STRING (CERR 13)
You used the wrong quotes around the head statement. Look closely below, and
you'll see that these are backtics:
> :xeq sh.hpbin.sys "-c 'kill `head -n 1 /SENDMAIL/PUB/etc/sendmail.pid`'"
An alternative less visually confusing syntax would be:
:xeq sh.hpbin.sys '-c "kill $(head -n 1 /SENDMAIL/PUB/etc/sendmail.pid)"'
--
[log in to unmask]
Remainder of .sig suppressed to conserve scarce California electrons...