Oh, I accidentally used some shortcut for sending an e-mail.

On 13 December 2017 at 09:54, Rafał Miłecki <[email protected]> wrote:
> I wanted to replace all slashes in my string with some other char.
>
> Example:
> dir=foo/bar/qux
> echo "${dir//\//-}"
>
> It works well in GNU bash (it produces "foo-bar-qux"), but doesn't in ash.

I tried busybox 1.25.1 and 1.27.2.

Could someone take a look at this, please?

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

Reply via email to