Hi I am trying to split a string am getting from a file, using the delimiter "<" I then want to echo each string to a file. I am sort of there, but am not sure how to best split the string and then loop echo each substring (there may be up to 10 substrings) I am guessing I need to create an array to store these strings and then have a loop to echo each value?
Here is what I have so far:
while read line
do
   # ceck if the line begins with client_values=
   if[["$line" == *client_values=*]]
        CLIENT_VALUES = 'echo "${line}" | cut -d'=' -f 2'
        #Now need to split the  CLIENT_VALUES using "<" as a delimeter.
        # for each substring
            echo "Output" >> ${FILE}
            echo "Value $substring" >> ${FILE}
            echo "End" >> ${FILE}
    done < ${PROP_FILE}
 
     
    