[LUAU] Using SED to extract song, artist, and album from my iTunes Music List Export

Jim Thompson jim at netgate.com
Tue Sep 26 11:11:14 PDT 2006


The exported file should be OK, it looks like its tab-delimited (at  
least it arrived in my inbox tab-delimited.)

A simplistic awk script that does what Scott wants is:

BEGIN { FS = "\t" }   # make tab the field separator
       {
         printf("\"%s\" %s %s\n", $1, $2, $3)
       }

put that in a file, say,"mytunes.awk", then run as:  "awk -f  
mytunes.awk < file-exported-from-itunes"

It can get a lot fancier from there.

Jim




More information about the LUAU mailing list