HP3000-L Archives

April 2000, 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:
Mark Bixby <[log in to unmask]>
Reply To:
Mark Bixby <[log in to unmask]>
Date:
Tue, 11 Apr 2000 16:55:15 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (13 lines)
Arthur Frank wrote:
> Does MAILX return a success/fail flag?  If so, how do I check it?

If you're running mailx from the shell, the $? variable will contain the exit
status code, if any.

If you're running mailx from the CI, the CJCW variable will contain the exit
status code, if any.

This actually applies to all POSIX programs, not just mailx.

- Mark B.

ATOM RSS1 RSS2