Welcome, Guest. Please login or register.

Author Topic: What is the Best Mass Search & Replace CLI command?  (Read 943 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline ChaosLordTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
What is the Best Mass Search & Replace CLI command?
« on: July 22, 2004, 07:42:33 PM »
Hello Amiga.Organisms :)

What do u guys use to do mass search & replace of strings in text files?

I used stringer for a while but have now found that it has many terrible bugs and the coder's email bounces so I can't report the bugs to him. :(

There are many times when I must, for example, rename every
occurrence of a variable in every source file that it is found in.

This means searching/replacing thru megabytes of text in a thousand files.  Which cli proggy do u recommend?
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline kal

  • Newbie
  • *
  • Join Date: Jan 2004
  • Posts: 10
    • Show only replies by kal
    • http://www.five-by-five.se
Re: What is the Best Mass Search & Replace CLI command?
« Reply #1 on: July 24, 2004, 09:18:16 AM »
sed. It's good for those sorts of things.
Thus spake the master programmer:
\\"Though a program be but three lines long,
someday it will have to be maintained.\\"