mirror of
https://github.com/uutils/uutils.github.io.git
synced 2026-10-16 03:24:02 -07:00
resolvePath() normalizes path segments and drops trailing empty components, so a sed script like 's/world/there/' was rewritten to 's/world/there', losing the closing delimiter and producing 'unterminated substitute replacement'. Skip resolvePath for sed's script argument(s) (the first non-option arg, or args after -e/-f).