RosettaCodeData/Task/Regular-expressions/UNIX-Shell/regular-expressions-2.sh

4 lines
55 B
Bash
Raw Permalink Normal View History

2015-02-20 00:35:01 -05:00
s="I am the original string"
re='o.*l'
repl="modified"