**Input:** 

`"prefix_foo,prefix_bar"`

**Expected Output:**

```
foo
bar

```

This is what I've so far. 

```
$ echo "PREFIX_foo,PREFIX_bar" | awk '/PREFIX_/{x=gsub("PREFIX_", ""); print $0 }'
foo,bar

```

I'm unable to figure out how to print foo and bar separated by a newline. Thanks in advance! 

**EDIT:** 

* **Length of input is unknown so there can be more than 2 words separated by comma.**
* **This question is more towards learning awk language, not alternative gnu utils.**