bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Passing variables to and from custom programs


From: djackn
Subject: Passing variables to and from custom programs
Date: Sat, 6 Feb 2010 15:37:23 -0800 (PST)

May I used the following in a bash script to pass variables to myIpExec? 

    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.
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-tp27484502p27484502.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]