Re: Passing variables to and from custom programs

2010-02-07 Thread Mike Stroyan
On Sat, Feb 06, 2010 at 05:35:21PM -0800, DennisW wrote: On Feb 6, 5:37 pm, djackn jack.nadel...@yahoo.com wrote:     Result = myIpExec(${IPaddr1} ${IPaddr2} ${IPaddr3} ${IPaddr4}) myIpExec is a c program that normally uses scanf to prompt the user for the IP addresses and returns 0 or 1.

Re: Passing variables to and from custom programs

2010-02-07 Thread Chris F.A. Johnson
On Sun, 7 Feb 2010, Mike Stroyan wrote: On Sat, Feb 06, 2010 at 05:35:21PM -0800, DennisW wrote: On Feb 6, 5:37 pm, djackn jack.nadel...@yahoo.com wrote: Result = myIpExec(${IPaddr1} ${IPaddr2} ${IPaddr3} ${IPaddr4}) myIpExec is a c program that normally uses scanf to prompt the

Passing variables to and from custom programs

2010-02-06 Thread djackn
for various inputs. -- View this message in context: http://old.nabble.com/Passing-variables-to-and-from-custom-programs-tp27484502p27484502.html Sent from the Gnu - Bash mailing list archive at Nabble.com.

Re: Passing variables to and from custom programs

2010-02-06 Thread DennisW
and returns 0 or 1. I plan to use the script to test the program for various inputs. -- View this message in context:http://old.nabble.com/Passing-variables-to-and-from-custom-programs-t... Sent from the Gnu - Bash mailing list archive at Nabble.com. It is more likely that this would work: Result