Replace chars in string Posted on 2012/10/10 by james cmosx01:workspace cmuser$ echo “hello_goodbye” | sed 's/_/-/g' hello-goodbye