#!/bin/sh
test="123456789" temp=${test:1:2} echo $temp
If I execute the above in woody bash I get 23
OK 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} ... line
Woody + cgywin are almost identical versions of bash, Any idea why the problem ?
Dave
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]