#!/bin/bash { echo "test"; echo "נחמן"; } | sed -E ':;s/^(\S+)\S/\1 &/;t'
Standard input is empty
t te tes test נ נח נחמ נחמן
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!