Text Substitution with RPL | Linux Today

Text Substitution with RPL

Written By
Web Webster
Web Webster
Jan 25, 2008

“Recursive text substitution in multiple files is not a
task that the average end user is called upon to perform very
often. But let’s suppose that you have a couple of web sites either
with a hosting company or on your own server. Let us suppose
further, that you want to change the mailto link address on every
page on your site. Not a problem if you only have 5 or 6 pages but
what if you have five or six hundred? Clearly, in the absence of an
automated text replacement utility, you are going to be spending a
lot of quality time with the WISYWIG editor of your choice.

“Of course you could always employ the venerable ‘sed’ command
with ‘find’ and ‘exec’ but that has limitations and the syntax is
possibly the most bizarre and grotesque construction in the whole
of Unix…!”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.