Hi
this is my SQL script
$ wc -l insert_into_customers.sql
85601 insert_into_customers.sql
I wish to cut this file into 9 files each 10000 lines (the last one less)
$ wc -l insert_into_customers_00*.sql
10000 insert_into_customers_001.sql
10000 insert_into_customers_002.sql
10000 insert_into_customers_003.sql
...
howto do that wish shell?