DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
HOW TO REPLACE A CHARACTER FROM A STRING IN BASH
string="abc" final=${string//[a]/b} echo $final
Source by reactgo.com #
PREVIOUS
NEXT
Tagged:
#HOW
#TO
#REPLACE
#A
#CHARACTER
#FROM
#A
#STRING
#IN
#BASH
ADD COMMENT
Topic
COMMENT
Name
5+8 =
Submit