Quote:
BTW why won't "${DEPENV//\[A-Z\]/\[a-z\]}" work?
|
No it will not, for 2 reasons:
1. Bash is not storing the first value after // and it would have no idea what in the second list to change it with
2. The [] do not need to be escaped after the // otherwise it is looking for the real brackets