Many thanks to all for the replies. I am not a developer. I'm a z/OS sysprog who happens to know programming, in general. And z/OS programming at that. In this particular case, of writing binary non-displayable data, use of stdout appears to be contraindicated. So, I'll just keep my current code of "all the arguments are input file names, with the exception of the last one which is the output file name". For other programs, if the output is textual, then I think that I'll just make the output go to stdout and let the user do a redirection thereof if they want it in a file.
As to options, I just like the GNU --english version. For some "standard" options, I may use the UNIX norm of a single dash with a single character. I'll also see if there is a Java version of getopt. -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * (817)-961-6183 cell [email protected] * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
