sj26/rvm — comment on commit d30e14cfd45e7d3e14fcf50a68f84446c9fc5d89
File:  line 0
By pellucidity:

some seds don't like it when you string multiple commands together like this:
```rvm install [tab]```
```sed: 1: "s/^(\([^)]*\))\(.*\)(\( ...": bad flag in substitute command: 's' ```

how about using -e several times?
```__rvm_known ()
{
# Strips comments and expands known patterns into each variation
rvm list known | sed 's/#.*$//' | sed -e 's/^(\([^)]*\))\(.*\)(\([^)]*\))$/\1\2\3 \1\2 \2\3 \2/' -e 's/^(\([^)]*\))\(.*\)$/\1\2 \2/' -e 's/^\(.*\)(\([^)]*\))$/\1\2 \1/'
}
```