Lines Matching refs:var
1 var=abc123dcba123
3 echo ${var/d/x}
4 echo ${var/c/x}
5 echo ${var//c/x}
6 echo ${var/[123]/x}
7 echo ${var//[123]/x}
8 echo ${var/c*/x}
9 echo ${var/*c/x}
12 echo ${var/c*1/x}
15 echo ${var/[123]}
16 echo ${var//[123]}
20 ### echo ${var/#a/x}
21 ### echo ${var/#b/x} # should not match
22 ### echo ${var//#b/x} # should not match
24 ### echo ${var/%3/x}