Lesezeichen

rank values -awk - The UNIX and Linux Forums


Beschreibung

awk ' { if(val!=$2){ rank++; } printf("%s\t%s\t%s\n",rank,$1,$2) val=$2 } ' <(sort -k2 -nr inputfile)

Vorschau

Tags

Nutzer

  • @folke

Kommentare und Rezensionen