The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Replacing in a variable
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Replacing in a variable
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
06-25-2009
belfastbelle
Registered User
Join Date: Sep 2008
Posts: 14
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
belfastbelle
View Public Profile
Find all posts by belfastbelle
Find belfastbelle's past nominations received
Find belfastbelle's present nominations given