View Single Post
Old 03-02-2009, 08:28 PM   #1
Nate the great
Sir Penguin of Edinburgh
Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.
 
Nate the great's Avatar
 
Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
Do need help editing text files?

As a result of the CIA World Book project I decided to start, I'm going to need to write a bunch of jflex scripts. Would anyone like me to make one?

What is jflex, you might ask? flex stands for fast lexical analyzer. One of the things you can do with it is automate the editing of a text file. In my case I have 2 sets of 251 html files. Each set will need identical editing on all 251 files. Rather than editing each file and performing the same actions 251 times, I will write a jflex script to automate the process.

It wouldn't be very much trouble to write an extra script while I'm in the mood. If you'd like one for your project, please let me know.

P.S. It would be best of you had at least some experience with the command line, especially if you run Linux or MacOS.

P.P.S. I can also write a flex script for C.

P.P.P.S If you have only one file, it would take less time for you to edit it manually than for me to write a script.
Nate the great is offline   Reply With Quote