My bash script stores data in 2 different variables like -:
Var1="My deployment name is A"
Var2="My deployment url is B"
Note:- Var1 and Var2 contains multiple lines and hence need to export in csv to respective columns i.e. 1st and 2nd column.
I would like to export these 2 values to CSV file so that value of Var1 goes to 1st column and Var2 to 2nd column of same CSV file. like -
Can some one please help me on this ? Thanks in advance.