Thread View: news.software.readers
1 messages
1 total messages
Started by Ren� Scholz
Thu, 05 Mar 1998 00:00
slrn: return value of pipe_acticle ??
Author: Ren� Scholz
Date: Thu, 05 Mar 1998 00:00
Date: Thu, 05 Mar 1998 00:00
22 lines
1336 bytes
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/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads