LinuxQuestions.org
(
/questions/
)
-
Linux - Newbie
(
https://www.linuxquestions.org/questions/linux-newbie-8/
)
- -
string replace - bad substitution
(
https://www.linuxquestions.org/questions/linux-newbie-8/string-replace-bad-substitution-878121/
)
xombboxer
05-01-2011 07:36 AM
string replace - bad substitution
im trying to
Code:
echo ${$PASS/m/-}
the value of $PASS=":-m10"
i am getting error
Code:
line 62: ${$PASS/m/-}: bad substitution
What is the issue
catkin
05-01-2011 07:46 AM
Should be
echo ${PASS/m/-}
?
All times are GMT -5. The time now is
11:05 AM
.