Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If we have for example very big matrix .for file 50MB shown down. I have to divide it on 50 separated .for files not bigger then 1Mb. How to make them automatically, not copy/paste manual? As we have example list down, it will be good to divide it on the end of some members of matrix, not somewhere in the middle of numbers, because of easier following.

 A(1,1)=608245.2842 + 0.344804658*X(65) - 10.10795816*X(66) + 7.65
 #7204197*X(67) - 0.471680875*X(68) + 3.555346388*X(69) - 0.94350445
 #25*w(70) - 1.887567575*w(71) - 0.5289184608*w(72) + 0.7835863517*w
 #(73) + 0.7797242472*w(74) - 0.06254543093*w(75)

 A(1,2)=6) - 0.3096263716*w(77) + 0.2442622122*w(78) + 0.39008*w(79) 
 #+ 0.05444760161*w(80) + 2.141140126e6*w(1)**2 - 9868.479006*w(1)*w
 #(2) + 187397.7897*w(2)**2 + 1.326258688e6*w(1)*w(3) - 162807.522*w
 #(2)*w(3) + 244696.3804*w(3)**2 + 495793.6949*w(1)*w(4) + 85100.066
share|improve this question
If you were on Linux, you could use csplit. – Dennis Williamson Jun 2 '12 at 11:16
@Dennis Windows – George Mills Jun 2 '12 at 19:59
@Dennis Can I use csplit in notepad++ or something similar? – George Mills Jun 3 '12 at 11:41
No, as I said "If you were on Linux...". I failed to mention that this includes installing Cygwin or similar on Windows. – Dennis Williamson Jun 3 '12 at 14:06
@Dennis Do you have idea how to make parts? With Cygwin I can? If I will find Linux, can you explain me how to do that? – George Mills Jun 3 '12 at 15:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.