Forum Moderators: open
Text insertion before a number on 10,000 text lines possible?
I figure it could be possible to do it with a macro or action script of sorts however one would need to start from the last line forward as the text inserted will need to be 3 lines or more itself and that would make the line seeking not work properly if started from the beginning.. Below is example of what I am trying to achieve..
111111
222222
333333
444444
555555
turned into this 10,000 times automated in a batch file?
Please post a reply as what application I should be using if any you know of out there?
below is what the end 10,000 lines turned into 40,000 should look like...
SAME TEXT SAME TEXT 111111
SAME TEXT SAME TEXT
SAME TEXT SAME TEXT
SAME TEXT SAME TEXT 222222
SAME TEXT SAME TEXT
SAME TEXT SAME TEXT
SAME TEXT SAME TEXT 333333
SAME TEXT SAME TEXT
SAME TEXT SAME TEXT
SAME TEXT SAME TEXT 444444
SAME TEXT SAME TEXT
SAME TEXT SAME TEXT
SAME TEXT SAME TEXT 555555
If you think I will have do this by hand please also post a reply.. Thanks for reading this.. 2 word comments are fine.. Cheers
Any other ideas are most welcome!
below are 3 post follow ups on another forum.. feel free to close this if need be. Thank you everone! I love this place and will be attending master classes as well in the future.. Thanks!
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""It wasn't very clear what you want to do, but if I understand you right, almost any command based editor could do it, such as vi, emacs, sed or awk.
But those all require reading the documentation to learn the commands, which tends to scare most windoze users away.
chris anda photograp
New User
joined:Jan 5, 2006
posts: 4
msg #:3
9:36 pm on Jan 5, 2006 (utc 0)
Thanks Big Dave! I just needed to know some names.. I am scared but what is life without FEAR! Anyhow, if there is a Windoze app I can use I would love it.. I am trying to replicate fuctions in the program "Internet Macros" - for now tommorrow who knows! Awesome.
I am looking for a sort of thing that would identify a line number starting at 10,000 or higher and work it's way backward adding 3 lines of text to each line as it zeros downward to line zero. I think it would not work if it started at the top line going downward.
BigDave
Senior Member
joined:Nov 19, 2002
posts:2346
msg #:4
9:42 pm on Jan 5, 2006 (utc 0)
All those programs I mentioned are available, for free, on windoze. You could also do it in just about any programming language, a large number of which are available for free on windows.
You just aren't very likely to find any sort of pointy-clicky program that will give you the sort of control that you want."""""""""""""""""""""""""""""""""""""""""""""""""""""""""""