The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-25-2009
belfastbelle belfastbelle is offline
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