Paste Search Dynamic
Recent pastes
awk
  1. #!/bin/bash
  2. # your code goes here
  3. awk 'BEGIN{FS=" ";bon = 0;}{
  4.         if($4 <= 50000){
  5.                 bon=$4 * 0.1;
  6.                 print $1" " bon;}}' | sort -nrk4 -t " "
  7.  
Parsed in 0.002 seconds