Hello,
I would like to check the values of the columns of a file, which numbers are arbitrary... For example these are the three lines (records) of a file
1 1 1 2 2 2
1 1 1 2 3
1 1 3 2 3 2 1 1
In this case I would like to print out those records, in which value of every column is not greater than 2, i.e. int this case the first one.
I would like to figure out a standard method, which is working even if I have thousands of lines, which has non-constant number of columns..
Thanks in advance!
I would like to check the values of the columns of a file, which numbers are arbitrary... For example these are the three lines (records) of a file
1 1 1 2 2 2
1 1 1 2 3
1 1 3 2 3 2 1 1
In this case I would like to print out those records, in which value of every column is not greater than 2, i.e. int this case the first one.
I would like to figure out a standard method, which is working even if I have thousands of lines, which has non-constant number of columns..
Thanks in advance!