Process a line of variable length using AWK

Dear All,
    I have a line which has a viriable number of fields(comma seperated fileds) from time to time and I want to run an awk on it to print those fields each in a separate line.
    For a line of constant number of fields that is quite managable but anyone can guide me how to manage a line of variable number of fields.
   Thanks
A_HASSANAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
TintinConnect With a Mentor Commented:
awk -F, '{for (i=1; i<=NF; i++) printf("%s\n",$i)}' file.csvt
0
 
tfewsterCommented:
awk -F"," '{for (i = 1; i <= NF; i++) {print $i}}' filename.txt
0
All Courses

From novice to tech pro — start learning today.