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

R. Scott Belford scott at hosef.org
Wed Sep 27 02:14:50 PDT 2006


Jim Thompson wrote:
> 
> % awk -F \t '{printf("\"%s\" %s %s\n", $1, $2, $3)}' < itunes-export-file
> 

Thanks, all, for the help and suggestions.  Tim, thanks for the lesson. 
  I don't know any languages, except for English, so the comments helped 
a lot.

I have run the above as well as the shorter script you suggested, Jim.

I get this output in my terminal

"Name" Artist Composer

So, it appears to work for the first part of the file that maps what is 
what in the export, but it is not parsing the rest of the goodies.  At 
least it seems that way.

--scott
-- 
R. Scott Belford
Founder/Executive Director
The Hawai`i Open Source Education Foundation
PO Box 2644
Ewa Beach, HI 96706
808.689.6518 phone/fax
scott at hosef.org



More information about the LUAU mailing list