Turma 0.1

Turma is tool used to search (and replace) for text blocks in multiple files & (sub)directories.
Turma is tool used to search (and replace) for text blocks in multiple files & (sub)directories. It operates on multiple files following a given pattern, with the possibility to recurse into subdirectories. It can handle more than words or lines of text, but blocks (paragraphs) of text.

Example:

-let's say you have many files containing the following text:
...
aaaaaaaehe
egeeccccc
...
and now you want to replace the paragraph above with
...
aaaaaaabbb
bbbbccccc
...
turma allows you to select
ehe
egee
and replace it with
bbb
bbbb
just as easy as copy&paste. Don't you believe me?

Give it a try! You'll see I'm right.

Another (useful) example would be: you have to replace the licence
and copyright notice in more than 1000 files located in a single directory
(including subdirectories). You have 4 options:

1. don't do it (ETA: 0 sec)
2. one by one (ETA: many hours)
3. make a perl/awk+sed/whatever script to do it (ETA: I wish I didn't know)
4. use turma (ETA: 30 seconds)

Limitations:

· Doesn't correctly handle symlinked directories
· Problems with dos text files (cr/lf) due to GTK Text widget
· Unstable locale support
· It doesn't backup modified files (you should do it)

last updated on:
February 7th, 2008, 11:20 GMT
price:
FREE!
developed by:
Mircea Mitu
license type:
GPL (GNU General Public License) 
category:
ROOT \ Utilities

FREE!

In a hurry? Add it to your Download Basket!

user rating 6

UNRATED
2.7/5
 

0/5

3 Screenshots
TurmaTurmaTurma

Add your review!

SUBMIT