I have one file that contain some file path in multiple line.Number of line is not constant.I want to store this multiple path into variables so that i can use this path for later use
file that store path contain multiple line in this way:
line1
line2
line3
.
.
.
i want to store this line into variable in this way
var1=line1
var2=line2
var3=line3
.
.
.
Please tell how I can do that.
Note: that number of line and number of variable is not fixed. I also want to print this variable to confirm their initializations.