> -----Original Message----- > From: Linux on 390 Port [mailto:[email protected]] On > Behalf Of Michael Holzheu > Sent: Wednesday, December 02, 2009 11:37 AM > To: [email protected] > Subject: Re: Linux software development question > > Hi John, > > You could add an option "-O" to your application, if that is specified > you write everything to stdout and the last positional > parameter can be > omitted. > > The "tar" command has such an option: > > -O, --to-stdout > extract files to standard output > > So you could so something like: > > FILE *fh; > > if (stderr_specified) > fh = stderr; > else > fh = fopen(file_out, ... > > > Michael
Ah! That's very helpful. I'm not really up on these conventions. Which is why I asked. The --to-stdout or --to-stderr looks like what I might want. Yes, I'm an n00b! -- 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
