![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sed to replace text with a variable | orahi001 | UNIX for Dummies Questions & Answers | 1 | 03-06-2008 05:25 PM |
| replace with value of variable using SED | prvnrk | Shell Programming and Scripting | 2 | 01-13-2008 07:13 AM |
| How to replace variable inside the variable | mani_um | Shell Programming and Scripting | 31 | 08-09-2007 07:56 PM |
| Replace variable with a user defined variable | ce124 | Shell Programming and Scripting | 1 | 04-15-2007 11:56 AM |
| Find and replace the value in a variable | aajmani | Shell Programming and Scripting | 5 | 09-21-2005 04:52 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
How to partially replace variable value?
I have variable $2 whose value is expdp_SDW_MSTR_VMDB.par
I want to replace three characters from right (par) with (log) Input --> expdp_SDW_MSTR_VMDB.par Output --> expdp_SDW_MSTR_VMDB.log Thanks Deep |
| Forum Sponsor | ||
|
|