Displaying 1 result from an estimated 1 matches for "v68gtzdx5fgxlzxawasae0".
2016 Apr 29
2
Semi-OT: awk
This is odd, and annoying. CentOS 6, current. Here's my awk script:
{
room = substr($0, 48, 10);
arr[$2,room,$1] = $0;
}
END {
for ( i in arr ) {
for ( j in arr[i] ) {
for ( k in arr[i][j] ) {
print arr[i][j][k];
}
}
}
}
And when I run it, it complains
awk -f awksort proplist7
awk: awksort:7: for ( j in arr[i] ) {
awk: awksort:7: