Reply To: Audioscrobbler/Last.FM Support with Portable_Player_Logging

#5405
riro
Participant

Can’t get this to work…

The SQL-command looks OK but awk complains on the syntax.

Running:

awk -F '|' '{ printf %st%st%st%st%dtLt%sn",$1,$2,$3,$4,$5/600,$6 }'

Started out with “BusyBox v1.00 (2006.04.11-01:22+0000) multi-call binary” as it came with the unslug and then i get:

awk: cmd. line:1: Unexpected token

And with “GNU Awk 3.1.5” i get:


awk: { printf %st%st%st%st%dtLt%sn",$1,$2,$3,$4,$5/600,$6 }
awk: ^ syntax error
awk: { printf %st%st%st%st%dtLt%sn",$1,$2,$3,$4,$5/600,$6 }
awk: ^ backslash not last character on line