5 cat |
while read line
; do
6 USERNAME
=`echo $line|cut -d, -f1`
7 DISPLAY_NAME
=`echo $line|cut -d, -f2`
8 EMAILS
=`echo $line|cut -d, -f3,4,5,6,7,8,9|sed -e 's/,/","/g'`
12 { username: "$USERNAME" },
14 { username: "$USERNAME",
15 displayName: "$DISPLAY_NAME" },
17 { emails: ["$EMAILS"].filter(function(f) { return f; }) }