I have a weird looking problem (a similar one was asked here, but I don't want to accept that Automator only pipes only 1 line into the shell script action!: [Mac Automator: shell script gets only one line](https://stackoverflow.com/questions/14712079/mac-automator-shell-script-gets-only-one-line))

Automator-Workflow, type "service", 3 blocks:

1. Service receives "Text"
2. "run shell script", "bash", input via "stdin", shell script: "cat"
3. copy to clipboard"

When I select a multiline text and run this service only the first line finishes in the clipboard.

I made three other tests:

1. skip the shell script action - directly move the selection into the clipboard >> works!
2. instead of taking the input from the text selection the shell script action gets the input via an "read from clipboard" action from the clipboard >> fails (first line only)
3. instead of the "bash" action I selected a "perl" action >> fails (first line only)

So it seems obvious that the run shell script action contains the problem.
But I have used the shell script action (with web-content) many times before with no problems.

Any ideas?
Maybe a problem with encoding and or line-endings?