#!/bin/bashs="hello dear world"perl -lne 'print "$1" while /\b(?=(\w+\s+\w+))/g' <<< "$s"
Standard input is empty
hello dear dear world
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!