![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Find & Replace string in multiple files & folders | karthikn7974 | Shell Programming and Scripting | 4 | 04-29-2009 07:30 PM |
| shell script to find and replace string in multiple files | pharos467 | Shell Programming and Scripting | 11 | 01-15-2009 11:40 AM |
| Find and replace a string in multiple files | pharos467 | UNIX for Dummies Questions & Answers | 2 | 11-05-2007 11:47 PM |
| String replace perl script error | MobileUser | Shell Programming and Scripting | 6 | 05-04-2006 09:18 PM |
| How to replace a string in multiple textfiles? | dwidmer | UNIX for Dummies Questions & Answers | 1 | 11-21-2003 06:13 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
looking to replace parameters within a string with an external answer - with multiple replacements within a string %% will be used to wrap the objects to be replaced
i.e. hello %%title%% %%user%% from %%address%% you last %%action%% on %%object%% the params will be used to make calls to a database to get the answers thenI need to substitute the answers back in. I think I need to do this in two passed first extract all the params and process them then replace each param with it's results my questions - how do I get the params out to an array - how do I substitute them back in |
![]() |
| Bookmarks |
| Tags |
| extract, perl, regex, substitution |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|