~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to awklib/eg/misc/arraymax.awk

Update README.solaris.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{
 
2
  if ($1 > max)
 
3
    max = $1
 
4
  arr[$1] = $0
 
5
}
 
6
 
 
7
END {
 
8
  for (x = 1; x <= max; x++)
 
9
    print arr[x]
 
10
}