how to convert output of bash script to .csv ?

how to convert output of bash script to .csv ?

0

I want to convert the output of the below mariamscript.sh shell script to csv, so that I can get the information in column format :

#!/bin/bash 
Name="mariam moahmed"
Email=mariamdarwish880@gmail.com
slack=mariamdarwish0
biostack="transcriptomics/machinelearning and datascince" 

for i in  {Name,Email,slack,biostack}

do 
echo "$i = ${!i}"
done


bash


csv

• 31 views

Read more here: Source link