Shell Ersetzen Sie Plus in String

#replace "XX" with "AF"
$ echo '01XX1234' | sed 's/XX/AF/'
01AF1234

#for url "2B" = "+" 
$ echo '01+1234' | sed 's/+/%2B/'
01%2B1234
Kenneth Hüdig