Bart
2011-07-18 22:13:03 UTC
I have a file call node.out. The content of node.out may contain
multiple node names which are format by 1 line per column.
For example:
node1
node2
node3
I would like to take the each node names from node.out and set it to a
variable. Each node name will have an incremented variable name.
set VAR1=node1
set VAR2=node2
set VAR3=node3
I won't know how many node names my file node.out may contain so I
guess it needs to increment until the end of the file.
Thanks in Advance!
multiple node names which are format by 1 line per column.
For example:
node1
node2
node3
I would like to take the each node names from node.out and set it to a
variable. Each node name will have an incremented variable name.
set VAR1=node1
set VAR2=node2
set VAR3=node3
I won't know how many node names my file node.out may contain so I
guess it needs to increment until the end of the file.
Thanks in Advance!