Skip to content
Myr

[Fix] remove the need for `sed -E`

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fixes #1126

authored by Jordan Harband · committed by Jordan Harband · parent 73aa35f · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:nvm.sh+3 added-3 removed
805 unmodified lines
806 s#^versions/##;807 s#^v#${NVM_NODE_PREFIX}/v#;808 \#${SEARCH_PATTERN}# !d;809 " \810 | command sed -E "s#^([^/]+)/(.*)\$#\2.\1#;" \810 | command sed "s#^\([^/]\{1,\}\)/\(.*\)\$#\2.\1#;" \811 | command sort -t. -u -k 1.2,1n -k 2,2n -k 3,3n \812 | command sed -E "813 s#(.*)\.([^\.]+)\$#\2-\1#;812 | command sed "813 s#\(.*\)\.\([^\.]\{1,\}\)\$#\2-\1#;814 s#^${NVM_NODE_PREFIX}-##;815 " \816 )"817 fi
1817 unmodified lines