I'm working on a simple debian script. What I'm looking for is assigning a string for each line in a text file. For example my text file would be:
abc
def
ghi
I would like a string named 1 to be "abc", string 2 to be "def" and so forth.
I will possibly be working with hundreds of lines in the text file, so if there's a way on auto-naming the strings instead of specifying "string s1 =" etc.