Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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