write into a csv file

Discussion created by anthirini on Jul 12, 2013
Latest reply on Jul 15, 2013 by rzufelt

I would like to write in a csv file 100 triads that a code randomly produces.

More accurately I have the following 100 triads 

h1, v1, w1
h2, v2, w2,

h100, v100, w100

and I want to write them into a csv file

Which command can I use?