in reply to Re: OT: Find unique values in a column
in thread OT: Find unique values in a column

thank you !!! Is there any other way I can achieve with awk or unix one liner commands?
  • Comment on Re^2: OT: Find unique values in a column

Replies are listed 'Best First'.
Re^3: OT: Find unique values in a column
by choroba (Cardinal) on Nov 30, 2015 at 15:42 UTC
    Of course, but you don't ask for awk or unix in a Perl forum, do you?
    ... | rev | cut -f1 -d' ' | rev | sort -u
    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
Re^3: OT: Find unique values in a column
by Laurent_R (Canon) on Nov 30, 2015 at 20:42 UTC
    Is there any other way I can achieve with awk or unix one liner commands?

    Well,

    perl -lane 'print $F[6] if ! $seen{ $F[6] }++' file.txt
    is sort of a Unix one-liner, isn't it?  ;-)