Does anybody know how to suppress selection criteria on QUIZ output?
Jonbickel@aol.com
Jonbickel@aol.com
Tue, 08 Mar 2005 13:42:18 -0500
Peter,
IIRC - the CHOOSE message prints to stderr, while data output goest to stdout. So, if you split stdout from stderr, you should be able to capture the data output without the CHOOSE.
i.e. RESULT=`quiz auto=... 2>/dev/null`
I don't have a box to test this on at the moment. So, I apologize if my memory is faulty.
jb
In a message dated 3/8/2005 1:13:47 PM Eastern Standard Time, "Peter Bateman" <pfbcs@hotmail.com> writes:
>Hi Joe & Mike:
>
>This wipes out all the output.
>
>I did manage to get just
>the output
>
>by export TERMOUT=`tty`
> set report device term $TERMOUT
>
>However, I am back to sed because I want to use the output in a script
>command.
>e.g. export RESULT=`quiz ...`
>and this does not pick up my output.
>Regards,
>Peter
>
>>
>>Is this not solved using standard out/error as in e.g. > /dev/null 2>&1
>>
>>Regards, Joe.
>>
>>
>>-----Original Message-----
>>From: powerh-l-admin@lists.sowder.com
>>[mailto:powerh-l-admin@lists.sowder.com] On Behalf Of Peter Bateman
>>Sent: 08 March 2005 17:07
>>To: powerh-l@lists.sowder.com
>>Subject: Does anybody know how to suppress selection criteria on QUIZ
>>output?
>>
>>
>>Hi all:
>>
>> I am using environment variables to provide the selection criteria for a
>>QUIZ report.
>> A nice message comes out telling me what my selection criteria are. But
>>this time
>> I don't want the output.
>>
>>
>>Environment variable used for CHOOSE : T.
>>Environment variable used for CHOOSE : 20050701.
>>HOLIDAY=0
>>
>>All I want in the report is the last line.
>> I have tried SET NOSTATISTICS
>> SET NOWARN
>> SET NOHEAD
>>
>>I am about to apply SED to the output to get rid of them.
>>Thanks,
>>Peter Bateman
>>
>>_________________________________________________________________
>>Take charge with a pop-up guard built on patented MicrosoftR SmartScreen
>>Technology
>>http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=htt
>>p://hotmail.com/enca&HL=Market_MSNIS_Taglines
>> Start enjoying all the benefits of MSNR Premium right now and get the
>>first two months FREE*.
>>
>>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>>Mailing list: powerh-l@lists.sowder.com
>>Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
>>Unsubscribe: "unsubscribe <password>" in message body to
>>powerh-l-request@lists.sowder.com
>>http://lists.sowder.com/mailman/listinfo/powerh-l
>>This list is closed, thus to post to the list you must be a subscriber.
>>
>>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>>Mailing list: powerh-l@lists.sowder.com
>>Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
>>Unsubscribe: "unsubscribe <password>" in message body to
>>powerh-l-request@lists.sowder.com
>>http://lists.sowder.com/mailman/listinfo/powerh-l
>>This list is closed, thus to post to the list you must be a subscriber.
>
>_________________________________________________________________
>Don't just Search. Find! http://search.sympatico.msn.ca/default.aspx The new
>MSN Search! Check it out!
>
>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>Mailing list: powerh-l@lists.sowder.com
>Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
>Unsubscribe: "unsubscribe <password>" in message body to powerh-l-request@lists.sowder.com
>http://lists.sowder.com/mailman/listinfo/powerh-l
>This list is closed, thus to post to the list you must be a subscriber.
>