🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #39339

slrn: return value of pipe_acticle ??

#39339
From: Ren� Scholz
Date: Thu, 05 Mar 1998 00:00
22 lines
1336 bytes

hi,

in an slrn-macro I want to check a pgp-sgnature with

  pipe_article("pgp -f >/dev/null");
  
That works, but I want to check the return value from pgp, i.e. if $? is 0,
I want to execute  error("Good Signature"), else  error("Bad Signature").

But how can I get the return value?  getenv("?") does not work.

thanks,
ren�
-- 
"Wer die Freiheit aufgibt, um Sicherheit zu gewinnen,
 der wird am Ende beides verlieren"             (Benjamin Franklin)
==> Voland @IRC <==  2048/0xF11D6871  2A8D 3F92 4EB8 E55C  3605 D571 38C8 E2B8
mrz@informatik.uni-jena.de            http://www2.informatik.uni-jena.de/~mrz/

Technical Details
Message-ID: <6dn7ni$p1$1@fsuj19.rz.uni-jena.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <6dn7ni$p1$1@fsuj19.rz.uni-jena.de>
Subject: slrn: return value of pipe_acticle ??
Date: Thu, 05 Mar 1998 00:00:00 +0000
From: mrz@isun32.inf.uni-jena.de (Ren� Scholz)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 331210635
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=iso-8859-1
Organization: Lehrstuhl fuer Rechnerarchitektur und -kommunikation, FSU Jena
Mime-Version: 1.0
Reply-To: mrz@informatik.uni-jena.de
Newsgroups: news.software.readers