I want to read the file (1600 rows) and get rows only the columns have different values (sno1, sno2, sno3 & sno4-should be not be equal value) and it should be above50%.The example of output given belowinput.txt (tab-delimited)id sno1 sno2 sno3 sno4R1 98.4 88.8 98.4 67.6R2 100  100  100  100R3 33.4 23.5 98.8 45.5R4 53.5 78.7 88.8 67.5R5 0    0    0    0R6 88.8 98.8 67.6 100ouput.txtR4 53.5 78.7 88.8 67.5R6 88.8 98.8 67.6 100Here in R4 & R6 rows- all column values have not equal to each other and all are above 50%. Any help in awk/sed/perl is appreciated.
Get row data for non-matching column values
sed;awk;perl
A perl-oneliner:perl -nae 'undef %saw ; next if $. == 1; shift @F; next if grep { $_ < 50 or $saw{$_}++ } @F;  print ' input.txtThis basically translates to:#!/usr/bin/env perluse strict;while (<>) {  my @F = split(' ');  # split the current line  my %seen;  next if $. == 1;  # skip the heading  shift @F;  # ignore first element  next if grep { $_ < 50 or $seen{$_}++ } @F;  # ignore lines with                                               # duplicate entries and                                               # entries less than 50  print;  # print current line}