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

R. Scott Belford scott at hosef.org
Thu Sep 28 03:15:36 PDT 2006


Jim Thompson wrote:

> Oops, Vince is right.

Okay, so I paste this into my terminal window

cat Music.txt | awk '{FS="\t";RS="\r";printf("\"%s\" %s %s\n", $1, $2, 
$4)}' < /tmp/scott  > /tmp/scott.out

and I get this on my osx machine

awk: i/o error occurred on /dev/stdin
  source line number 1

and this on my debian box

awk: cmd. line:1: fatal: file `-' is a directory

I know it is me, but I don't know what to do.

--scott



More information about the LUAU mailing list