Just wondered if anyone could help with this slightly odd problem!
In the Puppy console I can type:
Code: Select all
#alpha="abcdef"
#echo ${alpha/abc/xyz}
#xyzdef
BUT if I do the same thing in a standard script I get an error:
Code: Select all
#!/bin/sh
alpha="abcdef"
echo ${alpha/abc/xyz}
Am I going mad!