|
About:
rpl is a Unix text replacement utility. It will replace strings with new
strings in multiple text files. It can scan directories recursively and replace
strings in all files found. The search can be limited to files with certain
filename suffixes (e.g. '.html', '.c', etc.). It includes source, a build
script, and a man page. It should work on most flavors of Unix. Linux/Intel,
Linux/PPC, and source RPMs are available, as are binaries for other OSes,
including Mac OS X.
Author:
Joe Laffey <software (at) laffeycomputer (dot) com>
[contact developer]
Homepage:
http://www.laffeycomputer.com/software.html
Tar/GZ:
http://downloads.laffeycomputer.com/current_builds/rpl-1.4.0.tar.gz
RPM package:
http://downloads.laffeycomputer.com/current_builds/rpl-1.4.0-1.i386.rpm
Trove categories:
[change]
Dependencies:
[change]
No dependencies filed
|
|
» Rating:
8.33/10.00
(Rank N/A)
» Vitality: 0.00% (Rank 8673)
» Popularity: 1.15% (Rank 4971)

(click to enlarge graphs)
Record hits: 17,611
URL hits: 10,086
Subscribers: 17
|
|
Branches
Comments
[»]
Free Software replacement for rpl in Debian
by Bernhard Reiter - Dec 9th 2005 03:07:16
In Debian there is a Free Software rewrite of rpl
in python available.
Check out
Debian
Developer Information for rpl
[reply]
[top]
[»]
Keep it up!
by mok - Oct 8th 2001 21:41:57
Hey Joe, i find it's a very useful program for everyone. Time saver! thanks
and keep up the good work!
[reply]
[top]
[»]
I dunno
by Robert Fuller - Jul 4th 2001 10:50:19
This looks useful, but I'm still tempted to use:
perl -p -i.bak -e "s/foo/bar/g" `find . -name '*.html'`
[reply]
[top]
[»]
Pretty nifty
by MysteryMan - Mar 22nd 2001 14:48:24
This is a nifty little program. It sure beats typing all that crap to use
sed or PERL.
Keep up the good work!
[reply]
[top]
[»]
"utility to replace text in files..."
by timecop - Mar 20th 2001 15:07:28
Why does this strike me as something less powerful than, say,
"sed", and with the proprietary license attached to this program
(shareware), what's the point of using it at all? "sed", along
with a simple for/while/foreach script will do just as well as this, or
perl, or awk, or any other standard, free, usable unix tool.
[reply]
[top]
[»]
Re: "utility to replace text in files..." - It _IS_ Free!
by PelDaddy - Mar 21st 2001 11:14:46
> Why does this strike me as something
> less powerful than, say,
> "sed", and with the
> proprietary license attached to this
> program (shareware), what's the point of
> using it at all.
Perhaps you should re-read the license. It is FREEWARE. There is no cost
for this product.
True, you can most of what rpl can do with sed or PERL, but rpl offers an
easy interface for recursive replacement without pipes or find / xargs. It
offers a mode to prompt for each file it finds. It supports multiple file
suffixes. It uses very little memory. It can keep the modification times
intact. It can keep the permissions intact.
It is free.
rpl has devloped quite a following and is standard issue in a number of
different distros (Mandrake, etc.)
[reply]
[top]
[»]
Re: "utility to replace text in files..." - It _IS_ Free!
by timecop - Mar 22nd 2001 04:40:06
>
> Perhaps you should re-read the
> license. It is FREEWARE. There is no
> cost for this product.
So? There is no cost for IE5.5, does that mean it's a great product? (The
answer, yes it is, but that's irrelevant in this discussion).
> True, you can most of what rpl can do
> with sed or PERL, but rpl offers an easy
> interface for recursive replacement
> without pipes or find / xargs. It offers
> a mode to prompt for each file it finds.
> It supports multiple file suffixes. It
> uses very little memory. It can keep the
> modification times intact. It can keep
> the permissions intact.
Well, that's great, but people who usually use sed/perl don't need a GUI
to search and replace text.
> rpl has devloped quite a following and
> is standard issue in a number of
> different distros (Mandrake, etc.)
Okay, wow. The most dumbed-down linux distro uses a utility that provides
no advantage over sed/perl or just perl. Why am I not surprised?
[reply]
[top]
[»]
Re: "utility to replace text in files..." - It _IS_ Free!
by PelDaddy - Mar 22nd 2001 14:55:17
> Well, that's great, but people who
> usually use sed/perl don't need a GUI to
> search and replace text.
It doesn't even offer a GUI. It merely provide another command-line option
for type replacement.
> Okay, wow. The most dumbed-down linux
> distro uses a utility that provides no
> advantage over sed/perl or just perl.
> Why am I not surprised?
Hmm, some would say sed was a utility that offered no advantage over PERL.
Awk too. There are lots of ways to do things in UN*X. If you use PERL than
you should be familiar with TMTOWTDI...
rpl is just one more way. If you don't like it, don't use it...
[reply]
[top]
[»]
Re: "utility to replace text in files..." - It _IS_ Free!
by Joey The Saint - Mar 26th 2001 13:21:04
>
> Hmm, some would say sed was a utility that offered no advantage over
PERL.
> Awk too. There are lots of ways to do things in UN*X. If you use
PERL than
> you should be familiar with TMTOWTDI...
>
Those people, however, would clearly be forgetting that sed (and awk)
pre-date
PERL by just over a decade. There is a reason why the perl
documentation
mentions things like:
For sed devotees, y is provided as a synonym for tr///.
And I sincerely doubt that Larry Wall would say such a thing, but we can
ask
him if you like.
-- -Joe.
[reply]
[top]
[»]
Re: "utility to replace text in files..." - It _IS_ Free!
by PelDaddy - Mar 26th 2001 14:16:08
> Those people, however, would clearly
> be forgetting that sed (and awk)
> pre-date
> PERL by just over a decade. There is
> a reason why the perl documentation
> mentions things like:
>
> For sed devotees, y is provided as
> a synonym for tr///.
>
> And I sincerely doubt that Larry Wall
> would say such a thing, but we can ask
> him if you like.
I agree. I am just reinforcing TMTOWTDI, by demonstrating that many tools
overlap in functionality. Users will migrate to the tool they are most
comfortable with for their particular purpose.
I use all three and rpl, each for different reasons.
[reply]
[top]
[»]
Re: "utility to replace text in files..." - It _IS_ Free!
by MysteryMan - Mar 26th 2001 16:11:08
>
> I agree. I am just reinforcing
> TMTOWTDI, by demonstrating that many
> tools overlap in functionality. Users
> will migrate to the tool they are most
> comfortable with for their particular
> purpose.
>
> I use all three and rpl, each for
> different reasons.
>
I'm with Joey the Saint that sed and awk are not useless, and have been
around long before PERL! I think PelDaddy has a point that SOME people
would believe PERL to have supplanted them. Of course, SOME people would
believe anything.
I use rpl for simple text replacement. It works well. I do wish it let me
enter escape sequences like "\n" or hex codes and the like.
[reply]
[top]
[»]
Re: "utility to replace text in files..." - It _IS_ Free!
by PelDaddy - Mar 26th 2001 19:15:46
> % I use rpl for simple text replacement.
> It works well. I do wish it let me enter
> escape sequences like "\n" or
> hex codes and the like.
That's a great idea. Look for it in a future release!
[reply]
[top]
|