(no subject)
May. 10th, 2011 02:25 pmIn PHP, I have the script down enough to where it can check particular files in all particular subdirectories. I can even open the files, and walk through each of the lines in the file. Furtherly, I can even get two of the three lines that I need.
I need this third line, and it's bugging me, because the third line is two lines after a particular line. Basically, I'm getting the company name from a .tex file, which is always two lines after the "\today" line. It's not consistently at the same line in the file; later versions of these .tex files have changed headers. But it's always, to my knowledge, two lines after "\today".
How the &%(* do I get that?
--
[eta] Ut, never mind, found it.
Originally posted on Dreamwidth. Number of comments so far:
I need this third line, and it's bugging me, because the third line is two lines after a particular line. Basically, I'm getting the company name from a .tex file, which is always two lines after the "\today" line. It's not consistently at the same line in the file; later versions of these .tex files have changed headers. But it's always, to my knowledge, two lines after "\today".
How the &%(* do I get that?
--
[eta] Ut, never mind, found it.
Originally posted on Dreamwidth. Number of comments so far: