I have hit a problem with bash ... as a sample program I have ... #!/bin/sh test="123456789" temp=${test:1:2} echo $temp If I execute the above in woody bash I get 23OK so far. I have cgywin on 98SE, running bash 2.05b.0-9. When I run the above I get ...
:syntax error:bad substitution for the ... temp=${test:1:2} ... lineWoody + cgywin are almost identical versions of bash, Any idea why the problem ?
Dave