Re: A bit more difficult than usual questions
- From: Dr J R Stockton <reply1119@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 14 May 2011 22:05:02 +0100
In comp.unix.shell message <ad1b2c49-1dd4-42ee-89bc-abc7a63fd0bf@v8g2000
yqb.googlegroups.com>, Fri, 13 May 2011 06:57:21, gpadu99
<gpadu99@xxxxxxxxx> posted:
Hi all,
I would like to replace a string in a number of files. The problem is
that the string to find is different than what I want to replace. More
clearly: I want to find all instances of string "ABBB.C" and I want to
replace "BBB" with "DDD". That means that after the operation, all my
files should contain the string "ADDD.C"
Any tips are much appreciated
MiniTrue will do it; and it can do more things than SED can.
--
(c) John Stockton, nr London, UK. ?@merlyn.demon.co.uk Turnpike 6.05 WinXP.
Web <http://www.merlyn.demon.co.uk/> - FAQ-type topics, acronyms, and links.
Command-prompt MiniTrue is useful for viewing/searching/altering files. Free,
DOS/Win/UNIX now 2.0.6; see <URL:http://www.merlyn.demon.co.uk/pc-links.htm>.
.
- References:
- A bit more difficult than usual questions
- From: gpadu99
- A bit more difficult than usual questions
- Prev by Date: Re: Whati is the meaning of "set -e"
- Next by Date: Ned help in understanding a strange behavior
- Previous by thread: Re: A bit more difficult than usual questions
- Next by thread: The CIA are now studying Osama's hard drives. - - - Will Osama bin Laden become a Moslem Joan of Arc?
- Index(es):
Relevant Pages
|