Hi all,
I'm trying to figure out what would a basic awk command to create a csv file out of a very basic (but very large) txt file.
Txt file is formated like
desc samid fn ln acctexpires disabled
description user name lastname never yes
and I need this in normal csv
desc,samid,fn,ln,acctexpires,disabled
description,user,name,lastname,never,yes
Anyone can help me?
I'm trying to figure out what would a basic awk command to create a csv file out of a very basic (but very large) txt file.
Txt file is formated like
desc samid fn ln acctexpires disabled
description user name lastname never yes
and I need this in normal csv
desc,samid,fn,ln,acctexpires,disabled
description,user,name,lastname,never,yes
Anyone can help me?