Monday, April 23, 2012

[ns] bash file for ns2

Hey guys...my question is more linux related and less ns2 related. Im using a
ns2 script which has a bash file.

i have a tcl file.... simulation1.tcl

and then there is a bash file called... bash_script_for_simulation1

in the bash file i set parameters like:
...
number_of_tcp_connections=1
number_of_udp_connection=3
global_delay=40
random_num_gen_seed=1
time=50
...

Now how do I tell simulation1.tcl to use the bash file to run.

Simply typing
#ns simulation1.tcl
doesnt work. It doesnt read the values it is supposed to from the bash file
this way.



--
View this message in context: http://old.nabble.com/bash-file-for-ns2-tp33734197p33734197.html
Sent from the ns-users mailing list archive at Nabble.com.

No comments:

Post a Comment

Counter

blogger analytics