View Single Post
  #1   (View Single Post)  
Old 24th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
ISO Quartermaster
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 589
Default sh replace string

Let's say i have some input data
$DATA="Some text data that i want to change"

and i want to replace spaces with some other letter, lets say "_"
How can i do that in sh?
Reply With Quote