..to the this: In a text file with 3.251.662 lines let me easy mark all lines from 1 to 1.000.000 and then save these lines as a new file.
I have NotePad++ (http://notepad-plus.sourceforge.net/) and it might be able to do this, but I can't figure out how. Markingd an crolling with the mosue will takes *ages*!
Can anybody help? Needed the answer yesterday... ;-)
On Mon, 06 Oct 2008 12:29:30 +0200, Petersen, Vegard Krog wrote: > ..to the this: In a text file with 3.251.662 lines let me easy mark all > lines from 1 to 1.000.000 and then save these lines as a new file.
> I have NotePad++ (http://notepad-plus.sourceforge.net/) and it might be > able to do this, but I can't figure out how. Markingd an crolling with > the mosue will takes *ages*!
> Can anybody help? Needed the answer yesterday... ;-)
> Thanks in advance!
> Vegard Krog Petersen, Norway
Possibly vim will do the job (although it is horrible to use) http://www.vim.org/
Petersen, Vegard Krog wrote in <gccpaa$h1...@registered.motzarella.org> (Mon, 06 Oct 2008 12:29:30 +0200):
>..to the this: In a text file with 3.251.662 lines let me easy mark all >lines from 1 to 1.000.000 and then save these lines as a new file.
>I have NotePad++ (http://notepad-plus.sourceforge.net/) and it might be >able to do this, but I can't figure out how. Markingd an crolling with >the mosue will takes *ages*!
Use the keyboard. In notepad+++, CTRL+G (go to line) enter 1000001. Then hold down CTRL+SHIFT and press HOME key. Then copy (or cut), open new file, past.
Bjorn S. wrote in <nvuje4pqk7agkli8md6ajej8je1rkn6...@4ax.com> (Mon, 06 Oct 2008 13:56:43 +0200):
>Petersen, Vegard Krog wrote in ><gccpaa$h1...@registered.motzarella.org> >(Mon, 06 Oct 2008 12:29:30 +0200):
>>..to the this: In a text file with 3.251.662 lines let me easy mark all >>lines from 1 to 1.000.000 and then save these lines as a new file.
>>I have NotePad++ (http://notepad-plus.sourceforge.net/) and it might be >>able to do this, but I can't figure out how. Markingd an crolling with >>the mosue will takes *ages*!
>Use the keyboard. In notepad+++, CTRL+G (go to line) enter 1000001. >Then hold down CTRL+SHIFT and press HOME key. Then copy (or cut), open >new file, past.
Or if you have multiple files, you could use a stream editor like SED to "print" any number of lines.
> Petersen, Vegard Krog wrote in > <gccpaa$h1...@registered.motzarella.org> > (Mon, 06 Oct 2008 12:29:30 +0200):
>> ..to the this: In a text file with 3.251.662 lines let me easy mark all >> lines from 1 to 1.000.000 and then save these lines as a new file.
>> I have NotePad++ (http://notepad-plus.sourceforge.net/) and it might be >> able to do this, but I can't figure out how. Markingd an crolling with >> the mosue will takes *ages*!
> Use the keyboard. In notepad+++, CTRL+G (go to line) enter 1000001. > Then hold down CTRL+SHIFT and press HOME key. Then copy (or cut), open > new file, past.