Rafał Miłecki wrote:
>> dir=foo/bar/qux
>> echo "${dir//\//-}"
>>
>> It works well in GNU bash (it produces "foo-bar-qux"), but doesn't in ash.

It works in busybox ash if the parameter expansion isn't quoted:

   $ busybox sh
   $ dir=foo/bar/qux; echo ${dir//\//-}
   foo-bar-qux
   $

I'm not sure what that means, though...

Ron
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to