This is untested, but should be close
perl -044ne"($n,$d)=m[\n?([^\n]+)\n(.+)\$?]m;open O,'>$n';print O $d;c +lose O;" file
In reply to Re: Splitting long file
by BrowserUk
in thread Splitting long file
by Micz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |