I have command output passed to variable LIST, which has hyphen separated values.

```
echo "$LIST"

- @rnc/comp@1.0 - @rnc/comp@2.1 - @rnc/list@0.2 - @rnc/sell@0.17 - app@20.10

```

I would like to convert them to lines

```
* @rnc/comp@1.0
* @rnc/comp@2.1
* @rnc/list@0.2
* @rnc/sell@0.17
* app-version@20.10

```

I tired with sed, but not getting the required output.

```
COMP=$LIST | sed 's/- / \\\n* /g/'

```

output response:

`n* @rnc/comp@1.0 n* @rnc/comp@2.1 n* @rnc/list@0.2 n* @rnc/sell@0.17 n* app@20.10`