Guest User

Untitled

a guest
Oct 19th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. rm -rf 100 && mkdir 100 && for i in $(ls *.csv); do grep -e '^[0-9]' $i > tmp; awk 'NR%100==1' tmp > 100/$i; last=$(tail -n1 $i); echo $last; echo $last >> 100/$i; rm tmp; done
Add Comment
Please, Sign In to add comment