#!/bin/bashs='test test test test'sed -E 's/\s+/|/;s/\s+/|/' <<< "$s"
Standard input is empty
test|test|test test
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!