![]() |
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 |
| getting variable inside awk | subin_bala | Shell Programming and Scripting | 1 | 06-05-2008 04:21 AM |
| Using a variable inside a file to cat another. | MaestroRage | UNIX for Dummies Questions & Answers | 3 | 02-06-2008 02:17 PM |
| passing a variable inside a variable to a function | KingVikram | UNIX for Dummies Questions & Answers | 2 | 01-14-2008 08:28 PM |
| How to replace variable inside the variable | mani_um | Shell Programming and Scripting | 31 | 08-09-2007 10:56 PM |
| ksh: A part of variable A's name is inside of variable B, how to update A? | pa3be | Shell Programming and Scripting | 4 | 03-30-2005 11:29 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Quote:
Eg set var="\/mydir\/path" echo "my file /work/kofeyok/stuff/file.dat, r );" > testfile sed -e "s/\/work\/kofeyok\/stuff/${var}/g" testfile > temp temp should have "my file /mydir/path/file.dat, r );" without double quotes |