Paste Search Dynamic
Recent pastes
Begin ignorecase
  1. #!/bin/bash
  2. # your code goes here
  3. awk 'BEGIN{FS=",";s=0; IGNORECASE=1;}NR>1{if($3=="finance") {s-s+$4}}END{if(s ==0) {print "No Asset Found"} else {print"Total Asset Price =",s}}'
Parsed in 0.006 seconds