Read lines from File in Bash and parse words into variables for mailx parameters
问题 I have a bash script which reads lines from a text file with 4 columns(no headers). The number of lines can be a maximum of 4 lines or less. The words in each line are separated by SPACE character. ab@from.com xyz@to.com;abc@to.com Sub1 MailBody1 xv@from.com abc@to.com;poy@to.com Sub2 MailBody2 mb@from.com gmc@to.com;abc@to.com Sub3 MailBody3 yt@from.com gqw@to.com;xyz@to.com Sub4 MailBody4 Currently, I am parsing the file and after getting each line, I am storing each word in every line into