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. -- Rafał _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
