Here's a basic awk program I am trying to run. It shows no error but shows no result either too. If someone can look up and tell me what's wrong I will be obliged.
Thanks.
Code Snippet.
#!/bin/bash
awk '{
for (i = 1 ; i <= 3 ; i++)
for ( j = 1 ; j <= 3 ; j++ ) {
a[i,j] = 9
}
}
END {
for ( i = 1 ; i <= 3 ; i++ )
for ( j = 1 ; j <= 3 ; j++ )
printf(" %s ", a[i,j])
}'