Guest_imported
New member
- Jan 1, 1970
- 0
HI,
I need help about using SOLARIS AWK(it may be different from GNU awk) in doing data grouping read from a file
the file is like
1.01 5555 333
1.52 33kk jkj
1.70 jnbn bkj
2.5
3.0
I want to count records with first record column
1 < ($1) < 2
then count for 2 < ($1) < 3 and so on then print the result in a file using the format :
1.0 3
2.0 1 and so on..
I need help about using SOLARIS AWK(it may be different from GNU awk) in doing data grouping read from a file
the file is like
1.01 5555 333
1.52 33kk jkj
1.70 jnbn bkj
2.5
3.0
I want to count records with first record column
1 < ($1) < 2
then count for 2 < ($1) < 3 and so on then print the result in a file using the format :
1.0 3
2.0 1 and so on..