Advertisement
Guest User

Untitled

a guest
Nov 2nd, 2014
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. cat annual.cvs | perl -e 'while(<>){$time=$1,$aprice=$2,$mprice=$3,$count=$4,$name=$5 if m/(.+),(.+),(.+),(.+),(.+)/; print "$time,$name,$count,$aprice,$mprice" unless ($count <= 0)}' > saved_ass.cvs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement