RosettaCodeData/Task/Regular-expressions/UNIX-Shell/regular-expressions-3.sh
2023-07-01 13:44:08 -04:00

2 lines
82 B
Bash

modified=${s/~(E)$re/$repl}
echo "$modified" # I am the modified string