![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Replacing a pattern using variable? | shivarajM | Shell Programming and Scripting | 3 | 04-30-2009 03:30 AM |
| Help in replacing text with the value of a variable | lotto_123 | Shell Programming and Scripting | 4 | 06-13-2008 07:39 AM |
| Replacing $ in variable | ashish_uiit | UNIX for Dummies Questions & Answers | 10 | 02-29-2008 09:29 AM |
| Replacing set of characters with a value of a variable | prekida | Shell Programming and Scripting | 1 | 07-26-2005 08:14 PM |
| Replacing pattern in variable | videsh77 | Shell Programming and Scripting | 1 | 05-26-2005 02:11 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Replacing in a variable
Hi,
If I have a variable var1 ='TH 12/1234' How can I set this too in a script var1 ='TH 12~1234' Bearing in mind "/" might be in a difference place each time and that the "/" might not even exist each time the variable is set. Thanks |
|
||||
|
Thanks - that works a treat !!
|
| Sponsored Links | ||
|
|