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/
A review of editors (mixture of payware and freeware)
http://www.donationcoder.com/Reviews/Archive/TextEditor/index.html
--
rich
>
>..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.
--
All the best,
Bjorn
Or if you have multiple files, you could use a stream editor like SED
to "print" any number of lines.
See Eric Pement's site for more info:
sed . . . the stream editor
http://student.northpark.edu/pemente/sed/
and his compiled:
USEFUL ONE-LINE SCRIPTS FOR SED
http://sed.sourceforge.net/sed1line.txt
--
All the best,
Bjorn S.
Bjorn: You're my hero! :-) Big thanks
regards from Vegard Krog Petersen, Norway