HP3000-L Archives

July 1999, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Glenn Cole <[log in to unmask]>
Reply To:
[log in to unmask][log in to unmask]> 07/08/99 01:30PM >>> [...]41_8Jul199912:44:[log in to unmask]
Date:
Thu, 8 Jul 1999 14:30:46 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
I wrote to Donna Garverick:

> I think what you mean to do is this:
>
>             export V=`callci 'diskuse /HPSPOOL' | tail -1`
>             echo $V `date` > temp

Donna replies:

> i failed to mention that i tried glenn's export suggestion...
>
> /SYS/PUB: export V=`callci 'diskuse /HPSPOOL' | tail -1`
> export: "/HPSPOOL/" is not an identifier
> /SYS/PUB:

Unfortunately, in fast and furious testing, I made an assumption. (D-oh!)
The problem is really that "export" cannot handle the double duty as given
above.  A solution is to split that statement in two:

        export V
        V=`callci 'diskuse /HPSPOOL' | tail -1`
        echo $V `date` > temp

--Glenn

ATOM RSS1 RSS2