Sorry I havent do this for quite a long while already, I intend to split a text into array
the text roughly looks like:
so far i came up with:
Code:
array=(echo $text | cut -d'
' f1)
the enter is the deliminator and f1 intends to cut out the first string, since -f1 means to take f1 only, so i thought it would be the other way around.
my intention is to make a new text that looks like:
so line a is deleted.
Thanks,
Ted