S
Shekar Ls
I would like to copy specific lines(contents) from file1 into file2.
# File1 has following information:
browser = "firefox"
id = "(e-mail address removed)"
password= "12345678"
account = "Yes"
# I want the following information in File2 :
@var1 = "firefox" (value of browser from File1)
@var2 = "(e-mail address removed)" (value of id from File1)
@var3 = "12345678" (value of password from File1)
How do i get this done using ruby. Please let me know if you require
more clarification on this front.
Cheers
# File1 has following information:
browser = "firefox"
id = "(e-mail address removed)"
password= "12345678"
account = "Yes"
# I want the following information in File2 :
@var1 = "firefox" (value of browser from File1)
@var2 = "(e-mail address removed)" (value of id from File1)
@var3 = "12345678" (value of password from File1)
How do i get this done using ruby. Please let me know if you require
more clarification on this front.
Cheers