name: strsub-basic description: Valid string substitutions stdin: echo empty ${v/old/new} v=old echo empty ${v/old/} echo ${v/new/} v='old new' echo ${v/old/new} v='new old' echo ${v/old/new} echo "${v/old/new}" foo='baaaaar' echo ${foo//a/v} echo ${foo/a/v} expected-fail: yes expected-stdout: empty empty old new new new new new new bvvvvvr bvaaaar --- name: strsub-multiline description: Value spanning multiple lines stdin: v=`cat <